-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Monkeypatch canPlayType on Android 4.0+ for HLS #1084
Merged
Merged
Commits on Mar 13, 2014
-
Monkeypatch canPlayType on Android 4.0+ for HLS
Android devices starting with 4.0 can play HLS natively to some extent. However, they do not say so in the canPlayType method. This commit monkey patches canPlayType to respond with "maybe" for "application/x-mpegURL" and "application/vnd.apple.mpegURL". Otherwise, it'll fallback to the original canPlayType method.
Configuration menu - View commit details
-
Copy full SHA for e35083b - Browse repository at this point
Copy the full SHA e35083bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 252ad3f - Browse repository at this point
Copy the full SHA 252ad3fView commit details
Commits on Mar 18, 2014
-
+ vjs.Html5.{patchCanPlayType,unpatchCanPlayType}
patchCanPlayType is called on load. It patched video#canPlayType if needed. unpatchCanPlayType will revert the patch and return the patch function. There are also corresponding tests that test patchCanPlayType, unpatchCanPlayType and also whether the patch functions themselves work correctly.
5Configuration menu - View commit details
-
Copy full SHA for 5381f70 - Browse repository at this point
Copy the full SHA 5381f70View commit details
Commits on Mar 24, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 86c3f94 - Browse repository at this point
Copy the full SHA 86c3f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for f86e073 - Browse repository at this point
Copy the full SHA f86e073View commit details -
Configuration menu - View commit details
-
Copy full SHA for 817253b - Browse repository at this point
Copy the full SHA 817253bView commit details
Commits on Mar 25, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 0c856ce - Browse repository at this point
Copy the full SHA 0c856ceView commit details
Commits on Mar 26, 2014
-
Configuration menu - View commit details
-
Copy full SHA for f1d2aef - Browse repository at this point
Copy the full SHA f1d2aefView commit details -
Configuration menu - View commit details
-
Copy full SHA for fef6282 - Browse repository at this point
Copy the full SHA fef6282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75bd76f - Browse repository at this point
Copy the full SHA 75bd76fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ec725 - Browse repository at this point
Copy the full SHA 94ec725View commit details -
Configuration menu - View commit details
-
Copy full SHA for d21019a - Browse repository at this point
Copy the full SHA d21019aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2a1cac - Browse repository at this point
Copy the full SHA e2a1cacView commit details -
Fix up tests to not ignore some if canPlayType is not available since unpatch is no longer broken.
Configuration menu - View commit details
-
Copy full SHA for e39557e - Browse repository at this point
Copy the full SHA e39557eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.