shiyiya / oplayer

:zap: Another HTM5 video player.

Home Page:https://oplayer.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support VTT sprite for thumbnail

nadecancode opened this issue · comments

Tool to generate the files and VTT: https://github.com/binoy638/sprite-vtt-generator

commented

Done.

a96245d

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.

commented

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

commented

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

commented

done