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

Using protocolless links and problems with IE in players > v2.3 #1862

Closed
qchroman opened this issue Apr 5, 2017 · 2 comments
Closed

Using protocolless links and problems with IE in players > v2.3 #1862

qchroman opened this issue Apr 5, 2017 · 2 comments

Comments

@qchroman
Copy link
Contributor

qchroman commented Apr 5, 2017

Hello all,

I have noticed a strange behavior when players with version higher than 2.3 doesn't behave correctly when IE opens the page where the URL to the MPEG-DASH manifest is defined w/o the protocol.

For example, visit this page w/ 2.4 version of the player. Open network tab in your developer tools, put the following URL

//dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd

and hit load. Observe.

The same works just fine in 2.3 player.

Thank you for your attention.

--
BR

@davemevans
Copy link
Contributor

2.4 saw the introduction of proper URL handling in dash.js. IE11 does not implement the required feature, so a fairly dumb parser was added for that platform.

Unfortunately, the dumb parser did not correctly handle scheme-relative URLs. This led to the manifest being retrieved correctly but segment requests being prepended with the application origin which is obviously wrong.

#1863 adds correct handling and associated tests.

Note that using scheme-relative URLs is now considered an anti-pattern.

@qchroman
Copy link
Contributor Author

qchroman commented Apr 6, 2017

Thank you very much!

@qchroman qchroman closed this as completed Apr 6, 2017
dsparacio pushed a commit that referenced this issue Apr 11, 2017
…mbParser

Fix #1862 - correctly handle scheme-relative URLs in IE11
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

No branches or pull requests

2 participants