-
rewind button youtube api
Hello
I'm trying to add a rewind button to my youtube api. I want the user to be able to jump back 10seconds with each click.
i have the play and pause sorted:
play_btn.addEventListener(MouseEvent.CLICK, playVid);
function playVid(e:MouseEvent):void {
my_player1.playVideo();
}
pause_btn.addEventListener(MouseEvent.CLICK, pauseVid);
function pauseVid(e:MouseEvent):void {
my_player1.pauseVideo();
}
Can anyone help me to take the current playhead position and move it -10seconds backwards?
Many thanks!
Dan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|