R
R
RUSallKA2019-05-20 22:27:44
Software players
RUSallKA, 2019-05-20 22:27:44

How to play the desired video from the playlist in the YouTube player?

Tell me how to play the desired clip in the playlist in the YouTube player. Here is the code for the player

<script src="https://www.youtube.com/iframe_api"></script>
    <div id="player"></div>
    <script>
       function onYouTubeIframeAPIReady() {
        player = new YT.Player('player', {
          height: '327',
          width: '530',
          playerVars: { 'autoplay': 1,'playlist':'OcqAUQ1vvic,bQrhRY3H7Hg,c-6A9rxQ9yU,qmSLX4mEC68', 'index': 1 }
        });
    }
 </script>

I need to start the player for example from 2 clips, how can I do this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question