0

我的目的是让用户跳到在此演示上单击红色箭头的视频

我已经尝试过功能ytplayer_render_playlist( ),但它没有用。我应该在演示上做些什么改变来跳过点击了红色箭头的视频?

  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 );

    }
  }
4

0 回答 0