test checks if browsers/devices support HLS or fallback correctly.
Browser | canPlayType | Source playing |
Firefox 20 | - | WebM |
Chrome 26 | - | WebM |
Safari 6 | maybe | HLS stream |
Internet Explorer 9 | - | MP4 |
Internet Explorer 10 | - | MP4 |
Opera 12 | - | WebM |
iOS 4 (iPhone) | maybe | HLS stream |
iOS 5 (iPad) | maybe | HLS stream |
iOS 6 (iPad) | maybe | HLS stream |
Android 2.2 (HTC Legend) | - | MP4 |
Android 2.3 (HTC Desire) | - | MP4 |
Android 4.0 (Galaxy S2) | maybe | HLS stream 1 |
Android 4.1 (Nexus 7) | - | WebM |
WinPho 7.5 (HTC Radar) | - | MP4 |
- No switching happens; the device sticks with the first stream in the manifest.
See the Pantos draft for more info on HLS and its mimetype, application/vnd.apple.mpegurl.
Test Tag
Our test loads this HLS stream, which is 30 minutes. There's two additional sources, in WebM and MP4. They are 10 seconds in length. The value of the canPlayType() query is:
Your browser does not support HTML5 video.
|