Ticket #1318 (closed bug: fixed)
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
Note: See
TracTickets for help on using
tickets.

Fixed in [1778]