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: Skip flash-based source handler with DASH source #14

Merged
merged 3 commits into from
Jan 17, 2018

Conversation

forbesjo
Copy link
Contributor

@forbesjo forbesjo commented Jan 16, 2018

Description

Our Flash MSE cannot handle DASH content, skip over DASH sources.

Specific Changes proposed

Pass the source handler's mode to canPlayType so the source can be rejected.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Unit Tests updated or fixed
  • Reviewed by Two Core Contributors

Copy link
Contributor

@gesinger gesinger left a comment

Choose a reason for hiding this comment

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

minor comment, but looks good

type: 'aPplication/dAsh+xMl'
}), 'supports application/dash+xml');
assert.notOk(HlsSourceHandler('flash').canPlayType('aPpLicAtion/DaSh+XmL'),
'supports application/dash+xml');
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: should say doesn't support

@forbesjo forbesjo merged commit 8422a18 into videojs:master Jan 17, 2018
@forbesjo forbesjo deleted the fix/no-flash-dash branch January 17, 2018 16:13
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