Controlbar Video Previewer Realtime

Video previewer using small realtime video frames

This work in progress experimental example demonstrates using a pre-encoded video with a thumbnail frame size and no audio. The small frame helps with load times due to latency and therefore less of a delay displaying the frame hence the requirement of images.

This unfortunately pre-buffers the video depending on the offset times, therefore needs to be encoded as small as possible.

A better example obtaining the video byte data directly may be realised later but complicated to translate to byte requests from offset times. Capturing the video frame for caching with a standard video display is complicated due to cross origin issues cross browser which is the same issue as the snapshot feature requiring cross origin proxy work arounds.

    
  <div class="flex flex-col w-full">
          <div id="realtime" class=""></div>

  </div>
  <script type="text/javascript">
  	var player = flowplayer("#realtime", {
    "controlspreview": {
        "realtime": true
    },
    "framesurl": "//videos.electroteque.org/frames/big_buck_bunny_frames.mp4",
    "src": [
        {
            "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"
        }
    ],
    "token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw"
});
  </script>