videojs-caption
videojs-caption copied to clipboard
Have the most flexibility and power for displaying caption videojs.
I installed videojs-caption with npm: ``` npm i videojs-caption ``` And try to import it in nodejs: ``` require('videojs-caption') ``` But got a error: ``` { Error: Cannot find module...
// Video subtitles var videoID = videojs('mainvideo'); var captionJson = [ { "endTime": 1000, "startTime": 0, "data": "text1 ..." }, { "endTime": 2000, "startTime": 1001, "data":"text2 ...d" } ]; //console.log(captionJson);...
How do I use it with Angular 4?
cursorID++; is causing brief display of next caption. I commented it out. if (currentTime > cursor.endTime && (currentTime - cursor.endTime) < 500) { // case 2: video plays continously and...
I need support several caption for user. 
newCaption.data will be an error in loadNewCaption. newCaption a global variable? or Is newCaption handed to loadNewCaption? loadNewCaption: function(newCaption) { }
I want to get currently showing caption into a variable when the user pause the video. Thanks.
I like what you've put together with this. Not a real issue per say, but is there a way to load in a webvtt file and still get the vertical...