Markers in Playlists

Using markers in playlist items

This example demonstrates configuring the plugin with playlist items.

    
  <div class="flex w-full">
          <div id="playlists" class="">
              <a class="fp-prev">prev</a>
              <a class="fp-next">next</a>
          </div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#playlists", {
    "playlist": [
        {
            "chaptersurl": "../data/markers.json",
            "sources": [
                {
                    "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
                    "type": "video/webm"
                },
                {
                    "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
                    "type": "video/mp4"
                },
                {
                    "src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.ogv",
                    "type": "video/ogg"
                }
            ]
        },
        {
            "chaptersurl": "../data/markers-ed.json",
            "sources": [
                {
                    "src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
                    "type": "video/webm"
                },
                {
                    "src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
                    "type": "video/mp4"
                },
                {
                    "src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.ogv",
                    "type": "video/ogg"
                }
            ]
        }
    ],
    "share": false
});
  </script>