ngx-videogular
ngx-videogular copied to clipboard
Question: Play Video Caption
How to use below:
addTextTrack(type:'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata', label?:string, language?:string, mode?:'disabled' | 'hidden' | 'showing')
Create a TextTrack dynamically. You can add VTTCue objects using the addCue method available in the TextTrack class.
Ref: https://videogular.github.io/ngx-videogular/docs/modules/core/vg-media/
I have one Video URL and a Video Caption URL.