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

Option to offset the subtitles/captions timing Videojs#5.13.2 #4212

Closed
roonie007 opened this issue Mar 20, 2017 · 6 comments
Closed

Option to offset the subtitles/captions timing Videojs#5.13.2 #4212

roonie007 opened this issue Mar 20, 2017 · 6 comments
Labels
outdated Things closed automatically by stalebot

Comments

@roonie007
Copy link

How can I add an offset to the subtitles , some time they are not synchronized with the video , I am using "Videojs 5.13.2" , I have found the "trackTimeOffset" but it's no longer available in the 5.13.2 ? 23ab370

@gkatsev
Copy link
Member

gkatsev commented Mar 27, 2017

We did lose that option quite a long time ago in 4.12 when we added in vttjs to parse the webvtt files.

I could imagine such a feature is useful but it'll only apply to emulated tracks. I'm not sure we can do a good job of supporting it across browsers.

@DHoogland
Copy link

DHoogland commented Dec 8, 2017

I want to do the same as @roonie007, I did some research, and think it will be possible to convert the vtt into a json to modify the timestamps with javascript/jquery. This looks good too, http://www.sampingchuang.com/videojs-caption check "Advanced usage". Have to look more into that.
Edit: I see that the link I shared is using VJS 4.3, not 5+.

@stale
Copy link

stale bot commented Jul 3, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the outdated Things closed automatically by stalebot label Jul 3, 2018
@stale stale bot closed this as completed Jul 10, 2018
@MathieuDerelle
Copy link

didn't this lib figured it out ? https://github.com/funkyremi/vtt-live-edit

@DHoogland
Copy link

didn't this lib figured it out ? https://github.com/funkyremi/vtt-live-edit

Thanks, will look into to that!

@eliooses
Copy link

vtt-live-edit

This works like a charm with standard HTML5 player.

I will try to make a plugin.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated Things closed automatically by stalebot
Projects
None yet
Development

No branches or pull requests

5 participants