Chapters

Youtube Chapters Demo

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="chapters"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("chapters", {
    "plugins": {
        "qualitymenu": {},
        "youtube": {
            "chapters": true,
            "key": "AIzaSyCdXzLYRXDLnTZ6uPe10o8uJoFzOeHx6z8",
            "subtitles": true
        }
    },
    "sources": [
        {
            "src": "https://www.youtube.com/watch?v=73wU3KbYH00",
            "type": "video/youtube"
        }
    ]
});
  </script>