Keyword

Need help controlling the flash player with Javascript

  • prorockstarsdotcom
  • prorockstarsdotcom's Avatar Topic Author
  • Offline
  • New Member
More
16 years 8 months ago #5812 by prorockstarsdotcom
Need help controlling the flash player with Javascript was created by prorockstarsdotcom
It's possible to use javascript to control the JW Media Player used in AllVideos.

Example: www.jeroenwijering.com/extras/javascript.html

I have not been able to pull it off yet.
I can get updates from the player which show play state and time elapsed and such but the sendEvent functions are not working.

Example: professionalrockstars.com/backstage/index.php?option=com_content&task=view&id=701

It may have something to do with AllVideos using a different embed method than swfobject to place the videos, but the javascript control should still be possible - it may just need some modification in the javascript- not my strong point unfortunately.

FYI, if you want to give this a go, you will need to add an &enablejs=true variable to the code in your appropriate entry in plugin_jw_allvideos.php.
You may also need to add &javascriptid=youridhere to make it work. The default id is "mpl".

Any help in getting this working would be enormously appreciated!

Thanks!

-Chris

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum