HTML5MediaLibraries: Difference between revisions
mNo edit summary |
|||
| Line 11: | Line 11: | ||
Even if ogv is free, it’s not supported on all majors platforms. | Even if ogv is free, it’s not supported on all majors platforms. | ||
http://caniuse.com/#feat=mpeg4 | |||
http://caniuse.com/#feat=ogv | |||
=== Usage === | === Usage === | ||
| Line 18: | Line 18: | ||
You can simply use a video tag | You can simply use a video tag | ||
http://www.w3schools.com/html/html5_video.asp | |||
<video width="400" controls> | |||
<source src="mov_bbb.mp4" type="video/mp4"> | |||
<source src="mov_bbb.ogg" type="video/ogg"> | |||
Your browser does not support HTML5 video. | |||
</video> | |||
=== Warning === | === Warning === | ||
| Line 24: | Line 30: | ||
On Android, >=2.3 is strongly recommended | On Android, >=2.3 is strongly recommended | ||
http://www.broken-links.com/2010/07/08/making-html5-video-work-on-android-phones/ | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 58: | Line 64: | ||
=== Warning === | === Warning === | ||
Volume is read-only on iOS. | |||
Chrome on Android does not support autoplay as advised by the specification. | |||
=== Sound Manager === | === Sound Manager === | ||
http://createjs.com/SoundJS | |||
| Line 70: | Line 76: | ||
=== Scene Manager === | === Scene Manager === | ||
http://createjs.com | |||