If you have a Google account, you can save this code to your Google Drive.
Google will ask you to confirm Google Drive access.
Save file as:
If you have saved a file to Google Drive, you can open it here:
Can my browser play MP4 videos?
Can my browser play OGG videos?
Note: The canPlayType() method is not supported in Internet Explorer 8 and earlier versions.