My purpose is getting user skipped to the video which one's red arrow is clicked on this demo
I have tried function ytplayer_render_playlist( )
but it didn't work. What change i should do on demo to skip video which one's red arrow is clicked?
function ytplayer_render_playlist( )
{
for ( var i = 0; i < ytplayer_playlist.length; i++ )
{
var a = getElementById("trackArrow");
a.onclick = (
function( j )
{
return function( )
{
ytplayer_playitem = j;
ytplayer_playlazy( 1000 );
};
}
)( i );
}
}