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

fix: switch off in-manifest caption support #8

Merged
merged 3 commits into from
Nov 29, 2017

Conversation

forbesjo
Copy link
Contributor

Right now selection a caption will produce an error, let's turn off this feature until the bugs are worked out.

@forbesjo forbesjo changed the title fix: switch of in-manifest caption support fix: switch off in-manifest caption support Nov 28, 2017
src/toM3u8.js Outdated
@@ -141,7 +141,8 @@ export const toM3u8 = dashPlaylists => {
master.mediaGroups.AUDIO.audio = organizeAudioPlaylists(audioPlaylists);
}

if (vttPlaylists.length) {
// turn off vtt playlist support until issues with VHS are resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if we should directly reference VHS here. If it's an issue with VHS, then we can make the change in that repo. mpd-parser should be "independent" when it can be. If it's an issue with how we're handling the parsing in mpd-parser then we can turn it off here and reference that.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, if it is an issue here, we should add a TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe this is an issue here and at the moment this parser produces an output that only really makes sense with VHS. I'll add the TODO

Copy link
Contributor

Choose a reason for hiding this comment

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

I do agree that right now it is primarily geared towards VHS, however, it could be used for other reasons (just as the m3u8-parser can). Either way though, since the issue may be here, it may be best to simple say TODO: vtt playlists not yet supported

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the note

@forbesjo forbesjo merged commit 15712c6 into videojs:master Nov 29, 2017
@forbesjo forbesjo deleted the turn-off-captions branch November 29, 2017 15:49
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.

2 participants