I'm upgrading a video system which is currently using Flowplayer 1.x to use 3.x. However, i've hit a bit of a snag with a few JavaScript calls I need to make.
With Flowplayer 1, this was easy, all I had to do was make a JS call directly on the flash object. I see with Flowplayer 3 the only easy way to make a javascript call is via the methods provided in the flowplayer.js file. However, the way that this code works isn't very compatible with my existing javascript code, which means that i'm going to have put up with an ugly bodge or try and re-write either my existing code or the flowplayer.js code to try and get the two to play nice together. This is something I would prefer to avoid.
Is there any way that I can still call a few simple methods directly on the flash plugin ? All I need the equivalents of play(), pause(), seek(seconds) and getTime().
I had a dig in the flowplayer.js code and found some calls to the methods fp_play and fp_pause, but when I try these calls on a flowplayer plugin object they don't seem to have been defined.
With Flowplayer 1, this was easy, all I had to do was make a JS call directly on the flash object. I see with Flowplayer 3 the only easy way to make a javascript call is via the methods provided in the flowplayer.js file. However, the way that this code works isn't very compatible with my existing javascript code, which means that i'm going to have put up with an ugly bodge or try and re-write either my existing code or the flowplayer.js code to try and get the two to play nice together. This is something I would prefer to avoid.
Is there any way that I can still call a few simple methods directly on the flash plugin ? All I need the equivalents of play(), pause(), seek(seconds) and getTime().
I had a dig in the flowplayer.js code and found some calls to the methods fp_play and fp_pause, but when I try these calls on a flowplayer plugin object they don't seem to have been defined.