Active
Project:
JW Player Module for Drupal
Version:
6.x-1.3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 May 2011 at 06:44 UTC
Updated:
31 May 2011 at 22:33 UTC
Hi,
How could I define events for a player? I tried to use the field "Additional Flashvars" in the Configuration section of a player but unsuccessfully.
I tried to insert the following code in the "Additional Flashvars" field:
onMute="function(event){console.log(this.getMute())}", onReady="function(){console.log('player ready!')}"
Could you please advice what is the correct process of defining events for a player? Thank you very much in advance.
Regards
George Baev
Comments
Comment #1
JW Player commentedHi George,
Unfortunately at this time the events can only be added on the jwplayer tag in your post body as the XML config files don't support them.
An example would be:
Thanks.