Last active
August 29, 2015 14:01
-
-
Save ituki/0c417f58078083e5f180 to your computer and use it in GitHub Desktop.
HTML5のVideoのメモ ref: http://qiita.com/ituki_b/items/05998a62e5995c3c6afe
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
<source src="video/***.webm" type="video/webm"> | |
<source src="video/***.mp4" type="video/mp4"> |
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
<video class="video" poster="画像パス" width="xxx" height="xxx"> | |
<source src="動画パス.mp4" type="video/mp4"></source> | |
<source src="動画パス.webm" type="video/webm"></source> | |
</video> |
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
AddType video/mp4 mp4 | |
AddType video/webm webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment