Markers in Playlists

Using markers in playlist items

Chapters

This example demonstrates configuring the plugin with playlist items.

    <div class="flex w-full h-auto my-auto">
          <div id="playlists" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("playlists").setup({
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "playlist": [
        {
            "chaptersurl": "../data/markers.json",
            "sources": [
                {
                    "file": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
                    "type": "webm"
                },
                {
                    "file": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
                    "type": "mp4"
                }
            ]
        },
        {
            "chaptersurl": "../data/markers-ed.json",
            "sources": [
                {
                    "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
                    "type": "webm"
                },
                {
                    "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
                    "type": "mp4"
                }
            ]
        }
    ],
    "plugins": {
        "../../js/videomarkers-8.1.0.js": {
            "container": "#markers-list",
            "menu": true
        }
    },
    "width": "100%"
});
  </script>