Ticket #1318 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Plugin parameters with empty string values are interpreted as the number 0

Reported by: pablo Owned by: pablo
Priority: Milestone: Player 5.7
Component: flash Keywords:
Cc: Forum thread:

Description

Example plugin:

  initPlugin(api:IPlayer, conf:PlayerConfig):void {
     trace("The value is " + conf['foo']);
  }

Example embed:

jwplayer().setup({
  plugins: {
     "myplugin": {
        "foo": ""
     }
  }
});

Output:

The value is 0

Change History

comment:1 Changed 2 years ago by pablo

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [1778]

Note: See TracTickets for help on using tickets.