Created
November 28, 2013 20:02
-
-
Save miguel12345/7697432 to your computer and use it in GitHub Desktop.
Videos and fallbacks
This file contains hidden or 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 id="news" width=640 height=480 controls preload> <!-- WebM format for Firefox and Chrome --> <source src="news.webm" type='video/webm; codecs="vp8, vorbis"'> <!-- H.264 format for IE and Safari --> <source src="news.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <!-- Fall back on the Flash plugin --> <object width=640 height=480 type="application/x-shockwave-flash" data="flash_movie_player.swf"> <!-- Param elements here configure the Flash movie player you're using --> <!-- Text is the ultimate fallback content --> <div>video element not supported and Flash plugin not installed.</div> </object> </video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment