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

Captions #1749

Closed
wants to merge 236 commits into from
Closed

Captions #1749

wants to merge 236 commits into from

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Dec 17, 2014

This PR supercedes the other PRs (#1736)

  • fix up one last test
  • more tests
  • fixup settings menu styles (prettier/reworked should come as a separate PR)

Don't auto-add the textTrackDisplay component.
Add a 'featuresNativeTrack'. Currently hardcoded to false for everything
except the html5 tech.
Add textTracks and addTextTrack methods to html5 tech.
Proxy player level methods to tech if we're using native tracks.
Fix up track menu items to work with spec tracks or vjs tracks.
Also, if text tracks are old and use numerical mode values, use custom
tracks.
If an html tech is using custom tracks, remove track elements so we
don't accidentally show both custom and native captions.
Clean up showTextTrack slightly.
textTracks is completely inside of techs but needs to be called manually
because techGet requires the tech to be ready.
addTextTrack, unfortunately, currently forks. If when called, it doesn't
have a tech, it assumes that it's a custom implementation and does the
same work that MediaTechController#addTextTrack does.
Don't create a flash getter for textTracks.
Load up textTrackDisplay synchronously but have it do no work until the
player is ready (see the previous commit).
Add a check that delegates to MediaTechController's methods if we're in
Html5 but we are not using native tracks.
MenuButton's new 'update' method conflicted with volumeMenuButton's
update method which was used to update volume levels.
Instead, default to langauge or "Unknown";
IE10 and below don't support pointer-events:none, so, we want to make
sure that the big play button will be clickable.
@@ -21,7 +21,8 @@
},
"main": "./dist/video-js/video.js",
"dependencies": {
"videojs-swf": "4.5.3"
"videojs-swf": "4.5.3",
"vtt.js": "git+https://github.com/gkatsev/vtt.js.git#shim-build"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the recent merges mean we can change this to the main lib yet?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, not yet. All the IE8 changes went in but the shim build stuff still need to get tweaked first.

@heff
Copy link
Member

heff commented Feb 12, 2015

@gkatsev I'll work on some of the remaining cleanup tasks.

I don't see a resolution to the last chapters related question. Were you able to figure that out?

@gkatsev gkatsev modified the milestone: Captions Feb 13, 2015
@gkatsev
Copy link
Member Author

gkatsev commented Feb 13, 2015

@heff pushed TODOs. Would you want me to merge master into this branch so it's easier to merge this back into master?

@heff
Copy link
Member

heff commented Feb 13, 2015

Thanks for handling those! Yeah, if you have a minute to merge master you're in a better place to understand merge conflicts, but otherwise I can take care of it.

Conflicts:
	src/js/media/html5.js
	src/js/player.js
@gkatsev
Copy link
Member Author

gkatsev commented Feb 13, 2015

@heff merged in.

@gkatsev gkatsev closed this in 4e5c28c Feb 13, 2015
@gkatsev gkatsev deleted the tt-with-style branch August 12, 2015 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants