vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

How can i put my webvtt subtitles #360

Closed DaniHRE closed 6 months ago

DaniHRE commented 1 year ago

I'm trying yo put my webvtt in vime player, i'm using ReactJS and HLS Player

ryandgetz commented 7 months ago

Add a track element as a child of the hls provider. <track default kind={kind} src={src} srcLang={language} label={label} />