Skip to content
New issue

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

next caption error #10

Open
resw opened this issue Feb 28, 2017 · 1 comment
Open

next caption error #10

resw opened this issue Feb 28, 2017 · 1 comment

Comments

@resw
Copy link

resw commented Feb 28, 2017

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);
            }
@jasonhuhx
Copy link

I am experiencing similar issue. Can this fix be merged into the master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants