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

Disable HLS hack on Firefox for Android #3498

Closed

Conversation

kentuckyfriedtakahe
Copy link

Description

Chrome reports HLS is not supported when it actually so a hack was added to work around it. Contrastingly Firefox for Android actually doesn't support HLS. This fixes the Firefox compat bug https://bugzilla.mozilla.org/show_bug.cgi?id=1194662

Specific Changes proposed

Firefox for Android will use alternative fallbacks if they are available rather than hitting a dead end.

@mister-ben
Copy link
Contributor

The tests need to be fixed, but this lets videojs-contrib-hls work on Android FF too.

@gkatsev
Copy link
Member

gkatsev commented Aug 5, 2016

Ah, yeah, the two tests just set browser.ANDROID_VERSION but since it's run in firefox browser.IS_FIREFOX is set.
We probably want to set that property to false in these two tests and add a test that verifies that when browser.IS_FIREFOX is true and browser.ANDROID_VERSION is 4.0 and higher, we don't patch canPlayType.

@gkatsev gkatsev added patch This PR can be added to a patch release. needs: updates labels Aug 5, 2016
@marco-c
Copy link
Contributor

marco-c commented Aug 29, 2016

I've opened #3586, it contains the changes from this PR + fix for the tests + a new test for Firefox for Android.

@gkatsev
Copy link
Member

gkatsev commented Sep 20, 2016

Closing in favor of #3586. That PR will get merged as two commits to give credit to both @kentuckyfriedtakahe and @marco-c.

@gkatsev gkatsev closed this Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: updates patch This PR can be added to a patch release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants