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

Text tracks documentation updates #3256

Closed
wants to merge 8 commits into from

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Apr 13, 2016

Description

Update the documentation for Text Tracks.
Fixes #1888, #1958, #2628, and #3202.

@gkatsev
Copy link
Member Author

gkatsev commented Apr 13, 2016

There is one functional change where it logs a warning if it thinks that the lack of crossorigin attribute could cause a problem with displaying text tracks, this is one of the requirements from #1888.

<track src="http://example.com/oceans.vtt" kind="captions" srclang="en" label="English">
</video>
```
One thing to be aware of is that in this case the video files themselves will *also* needs CORS headers applied to it. Since is because some browsers apply the crossorigin attribute to the video source itself and not just the tracks and is considered a [security concern by the spec](https://html.spec.whatwg.org/multipage/embedded-content.html#security-and-privacy-considerations).
Copy link
Member

Choose a reason for hiding this comment

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

"This" instead of "Since"

@OwenEdwards
Copy link
Member

A few minor editorial suggestions, otherwise LGTM.

@gkatsev
Copy link
Member Author

gkatsev commented Apr 14, 2016

Good changes, thanks.

@gkatsev gkatsev added this to the Techs 2.0 milestone Apr 14, 2016
@gkatsev gkatsev added the needs: LGTM Needs one or more additional approvals label Apr 14, 2016
@gkatsev gkatsev modified the milestones: Text Tracks, Techs 2.0 Apr 14, 2016
@OwenEdwards
Copy link
Member

LGTM (in case my previous one didn't count!)

@gkatsev
Copy link
Member Author

gkatsev commented Apr 19, 2016

Heh, thanks. I still have to add the other section about caption/subs+descriptions precedence with regards to defaults and menu selection and programmatic interfaces.

@gkatsev
Copy link
Member Author

gkatsev commented Apr 19, 2016

@OwenEdwards the new section is in this commit: 33a7bca

@OwenEdwards
Copy link
Member

LGTM

@gkatsev gkatsev added confirmed documentation minor This PR can be added to a minor release. It should not be added to a patch release. and removed needs: LGTM Needs one or more additional approvals labels Apr 20, 2016
@gkatsev gkatsev closed this in 18cdf08 Apr 20, 2016
@gkatsev gkatsev deleted the text-tracks-docs branch April 20, 2016 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed documentation minor This PR can be added to a minor release. It should not be added to a patch release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants