You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 move to the next (when change is less than 500ms)
//cursorID++;
// check if we reached the end of the caption
if (cursorID > captions.length - 1){
noCaption = true;
}
} else {
// case 3: user changed playback (fastforward/backtrack); find new caption cursor
cursorID = searchCaption(currentTime);
}
The text was updated successfully, but these errors were encountered:
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 move to the next (when change is less than 500ms)
//cursorID++;
The text was updated successfully, but these errors were encountered: