Video Previews External Config

Video Previews with externally loaded config

This example demonstrates a clip json configuration using an external config for the still images using previewsurl.

The json config is exactly the same as the previews config as a list of still images.

    
   <div class="flex w-full">
          <div id="external" class="is-splash"></div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#external", {
    "clip": {
        "previewsurl": "../../data/previews.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"
            }
        ]
    },
    "share": false
});
  </script>