Video Snapshot Image Resizing

Multiple image sizes with Video Snapshot

0 seconds of 0 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
Keyboard Shortcuts
Play/PauseSPACE
Increase Volume
Decrease Volume
Seek Forward
Seek Backward
Captions On/Offc
Fullscreen/Exit Fullscreenf
Mute/Unmutem
Seek %0-9
00:00
00:00
00:00

This example demonstrates resizing multiple images including thumbnails with the high quality image resizer.

To enable resizing configure the dimensions config with multiple width sizes.

    <div class="flex w-full h-auto my-auto">
          <div id="resizing" class="is-snapshot"></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("resizing").setup({
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "plugins": {
        "../../js/snapshot-8.0.0.js": {
            "dimensions": [
                {
                    "width": 600
                },
                {
                    "thumbnail": true,
                    "width": 180
                }
            ],
            "quality": 0.9,
            "serverurl": "https://api.electroteque.org/save",
            "tokenurl": "https://api.electroteque.org/token"
        }
    },
    "snapshotnames": [
        "test2.jpg",
        "test2-thumb.jpg"
    ],
    "sources": [
        {
            "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
            "type": "webm"
        },
        {
            "file": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
            "type": "mp4"
        }
    ],
    "width": "100%"
});

player.on("capturecomplete", function(data) {
console.log("Capture Complete", data);
});
  </script>