Masquerading as Mobile Safari to Get Websites to Serve HTML5 Video to Safari
daringfireball.net
daringfireball.net
And be sure to opt in to YouTube's HTML5 trial:
Also, YouTube's HTML5 does not cover all videos (esp. those with ads). Install the YouTube5 Safari extension <http://www.verticalforest.com/2010/06/09/youtube5-html5-conv...; and you'll have very YouTube video served to you in H.264, and with a really neat HTML5-based player. Try it and I'll bet you'll fall in love with it immediately.
I would suggest anyone not happy with Flash and want to see it die do as Gruber did: remove Flash and try to disguise the browser as an iPad. Enough people doing so would probably have some impact on the web devs.
http://www.adobe.com/products/flashplayer/download/detection...
Now, if you have a browser which supports both HTML5 video and Flash, it's arguable which a player should default to. However, at the moment there seems to be an assumption on many sites that:
- "desktop" browser => has Flash
- mobile browser => doesn't have Flash
which gets pretty annoying for those of us who prefer not to install Flash.
e.g. "New order - Perfect kiss (10 minutes version)", http://www.youtube.com/watch?v=--pSWLEVGhY
On regular Safari pretending to be an iPad, this plays the video in Flash player; on a real iPad it comes up with the "install Flash" message.
If you view source on that embed link, near the bottom you'll find a JavaScript array called FORMAT_MAP, which is empty. On a video which is available in HTML5 formats, this would have multiple members, containing the URLs etc for the video in different formats/quality.
Eventually I discovered that setting my browser (midori [1]) to identify always as mobile safari, I get far better performance and video that I can actually watch.