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

Support for vtt #13

Merged
merged 4 commits into from
Dec 11, 2017
Merged

Support for vtt #13

merged 4 commits into from
Dec 11, 2017

Conversation

shahlabs
Copy link
Contributor

Enables vtt support for the vtt url present in the manifest

@forbesjo forbesjo merged commit 96fc406 into videojs:master Dec 11, 2017
@mjneil
Copy link
Contributor

mjneil commented Dec 11, 2017

might be good to add a test that makes sure if there is a segment list parsed that it uses that unaltered

@@ -15,6 +15,14 @@ export const formatAudioPlaylist = ({ attributes, segments }) => {
};

export const formatVttPlaylist = ({ attributes, segments }) => {
if (segments === undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

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

undefined referenced directly. We should check our linter, but typeof segments === 'undefined' should work

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

Successfully merging this pull request may close these issues.

4 participants