user3338167
user3338167

Reputation: 1

flowplayer - Stop video after X seconds and execute javascript code

I need some help with flowplayer… I want create player like this: moviechannel.pl/player/ So, i want like this: Someone go to page, click on the play button and video start and after X seconds stop and execute javascript code. how create something like this??

Upvotes: 0

Views: 714

Answers (1)

sukhi
sukhi

Reputation: 924

You can use cue points or content plugin in flowplayer, below is link:

http://flash.flowplayer.org/documentation/events/cuepoints.html http://flash.flowplayer.org/plugins/flash/content.html

but the function which is called on that cuepoint, you need to pause the video and after completion of javascript you need to resume your video Use $f().pause(); to pause and $f().resume(); to resume video in your function

Upvotes: 2

Related Questions