Looks like this equates `false` in Safari and IE9+. Try using `if (!!document.createElement('video').canPlayType)` instead, seems to work cross browser here.

You can store this feature detect as a variable for resuse.