Video Snapshot Playlists

Video Snapshot within playlists

This example demonstrates configuring the plugin with playlist items.

    
  <div class="flex w-full">
          <div id="playlists" class="is-snapshot">
              <a class="fp-prev">prev</a>
              <a class="fp-next">next</a>
          </div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#playlists", {
    "playlist": [
        {
            "snapshotname": "test2-[time].png",
            "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"
                }
            ]
        },
        {
            "snapshotname": "test2-[time].png",
            "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,
    "snapshot": {
        "serverurl": "https://api.electroteque.org/save",
        "tokenurl": "https://api.electroteque.org/token"
    }
});
  </script>