-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support all types of single-file playback
Instead of triggering src= based on 'video/mp4' MIME types, ask the browser what it can support using video.canPlayType(). Querying canPlayType() also allows us to detect src= support for native HLS in Safari. The original version of this change also added a complete fallback system to detect MIME types based on common file extensions and fetch MIME types via HEAD request when necessary, but the load graph system does not yet allow us to make async decisions about destination node. So this async MIME detection is commented out for now. Closes #816 (src= single file playback) Issue #997 (native HLS in Safari) Change-Id: If1930ca4fd5710481a925d63fb312d9a5b15fec8
- Loading branch information
1 parent
322876d
commit 133f161
Showing
5 changed files
with
171 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters