Created
December 15, 2014 22:43
-
-
Save rcstr/1244cf738bd230d93eb6 to your computer and use it in GitHub Desktop.
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
function supports_video() { | |
return !!document.createElement('video').canPlayType; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment