javascript - OKVideo: Controlling Video Playback with Links -


plugin reference: http://okfoc.us/okvideo/ | https://github.com/okfocus/okvideo

hey guys,

i've been trying links control video plays okvideo plugin reason doesn't work. i've tried myriad of different method no success.

to activate plugin, use:

$(function(){     $.okvideo({                                  source: 'bhe8yre3ex8',     })  });  

i've added links store youtube video id attribute. when user clicks link, video should stop playing current video , begin playing next selected one.

also, i'm not trying have video play automatically (on page load)–only on video selection. i've looked code options don't seem work.

i've stripped code , placed core of jsfiddle, here: http://jsfiddle.net/mikemiketm09/rd4fl/

fyi: did can use youtube api plugin.

your appreciated.


Comments