We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// Video subtitles var videoID = videojs('mainvideo'); var captionJson = [ { "endTime": 1000, "startTime": 0, "data": "text1 ..." }, { "endTime": 2000, "startTime": 1001, "data":"text2 ...d" } ]; //console.log(captionJson); videoID.caption({ data:captionJson, setting:{ captionSize:1 } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
// Video subtitles
var videoID = videojs('mainvideo');
var captionJson = [
{ "endTime": 1000, "startTime": 0, "data": "text1 ..." },
{ "endTime": 2000, "startTime": 1001, "data":"text2 ...d" }
];
//console.log(captionJson);
videoID.caption({
data:captionJson,
setting:{
captionSize:1
}
});
The text was updated successfully, but these errors were encountered: