Video Previews Autoplay

Video Previews with autoplay

This example demonstrates a clip json configuration, automatically transitioning the splash images. Once the video starts the transitioning will be completed and unloaded.

    
   <div class="flex w-full">
          <div id="autoplay" class="is-splash"></div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#autoplay", {
    "clip": {
        "previews": [
            "../../images/stills/bbb-1.jpg",
            "../../images/stills/bbb-2.jpg",
            "../../images/stills/bbb-3.jpg",
            "../../images/stills/bbb-4.jpg",
            "../../images/stills/bbb-5.jpg",
            "../../images/stills/bbb-6.jpg",
            "../../images/stills/bbb-7.jpg",
            "../../images/stills/bbb-8.jpg"
        ],
        "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,
    "videopreviews": {
        "autostart": true
    }
});
  </script>