Created
October 31, 2012 00:44
-
-
Save NapoleonWils0n/3984106 to your computer and use it in GitHub Desktop.
html: html5 video media queries
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 controls preload="none" poster="/images/video.png"> | |
<source src="mobile.mp4" type="" media="screen and (max-device-width:320px)"> | |
<source src="desktop.mp4" type="" media="screen and (min-device-width:321px)"> | |
</video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/25907930/chrome-not-respecting-video-source-inline-media-queries