Closed nadecancode closed 2 years ago
Tool to generate the files and VTT: https://github.com/binoy638/sprite-vtt-generator
Wow, that was fast. I just left one comment about the URL that you have in the code for the CSS background. It seems to be out of place.
Wow, that was fast. I just left one comment about the URL that you have in the code for the CSS background. It seems to be out of place.
fixed
Is this deployed to your main playground already? I just tried it, and no joy
I would also suggest to use "base" of the VTT file as the base for the images, instead of default to nothing. Normally you would see images co-located with the vtt file.
WEBVTT
00:00:00.000 --> 00:00:20.000
thumb1.jpg
00:00:20.000 --> 00:00:40.000
thumb2.jpg
00:00:40.000 --> 00:01:00.000
thumb3.jpg
00:01:00.000 --> 00:01:20.000
thumb4.jpg
00:01:20.000 --> 00:01:40.000
thumb5.jpg
00:01:40.000 --> 00:02:00.000
thumb6.jpg
00:02:00.000 --> 00:02:20.000
thumb7.jpg
00:02:20.000 --> 00:02:40.000
thumb8.jpg
00:02:40.000 --> 00:03:00.000
thumb9.jpg
00:03:00.000 --> 00:03:10.000
thumb10.jpg
Is also one common standard that you will find on the internet. Just an FYI
For example: https://preview.zorores.com/4b/4b1a02c7ffcad4f1ee11cd6f474548cb/thumbnails/sprite.vtt
work on it
I would also suggest to use "base" of the VTT file as the base for the images, instead of default to nothing. Normally you would see images co-located with the vtt file.
now, no base
done
For example: https://preview.zorores.com/4b/4b1a02c7ffcad4f1ee11cd6f474548cb/thumbnails/sprite.vtt
There's a videojs plugin for such implementation: https://github.com/chrisboustead/videojs-vtt-thumbnails/blob/master/src/plugin.js