Controlbar Video Previewer Spritesheets

Video previewer using spritesheets

This example demonstrates using spritesheets of thumbnails which is the default option.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="spritesheets"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("spritesheets", {
    "framesurl": "../../images/contactsheets/big_buck_bunny_400k-[index].jpg",
    "plugins": {
        "controlspreview": {}
    },
    "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"
        }
    ]
});
  </script>