im using this youtube api jquery plugin that i found(the code is located here):
in my index.html i write this code to access the plugin, thiers a function on line 124 in the plugin that i want to use called seekTo.
$(document).ready(function(){
$('#player').youTubeEmbed({
video :"http://www.youtube.com/watch?v=0NcJ_63z-mA",
width: 500,
// access seekTo here i.e. seekTo(123, true)
});
would that be possible? thanks :))
Modifying the plugin would be the easiest way to go. Just add a data value to the
originalDiv.Now, you can access it with: