video.js
video.js copied to clipboard
Support for DASH "seek thumbnails"?
Hi folks,
DASH spec describes a way to provide seek thumbnails using an AdaptationSet with @contentType='image'. It's described in section 6.2.6 of the IOP guide (https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf) and has been around since 2017.
The DASH-JS player supports it, via the provideThumbnail() method on the player (DASH-JS code). Has anyone exposed that through videoJS? Either via the DASH-JS tech or in the videoJS's own vhs player? I had a quick grep around in the code, but didn't find anything.
Thanks, Rik.
👋 Thanks for opening your first issue here! 👋
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.
I think you can try using videojs-contrib-dash, which is based on dash.js and provides full MPD parsing.
However, it does not automatically display thumbnails from the DASH AdaptationSet—you’ll need to manually parse the MPD file and implement the UI logic yourself.
Note that videojs-contrib-dash has not been updated for a long time and may not be fully compatible with newer Video.js versions. If you choose this route, you might need to handle compatibility issues or use dash.js directly.
Alternatively, you can use a VTT file with a sprite image for thumbnails. A plugin like videojs-vtt-thumbnails can help achieve Seek Thumbnails functionality without relying on DASH AdaptationSet.