Skip to Content

Safari tip: Force HTML5 video to open instead of Flash

As more people get fed up with the poor performance and security flaws of Adobe's Flash Player, they are uninstalling the Flash plug-in from their computers. The problem is that even if a site offers up HTML5 video as an alternative to Flash, trying to get to it from Safari on a Mac will pop up the little blue LEGO block.

Mac users can now take advantage of the fact that Mobile Safari in iOS doesn't support Flash in any way, by changing the desktop user agent. A browser feature that was first widely used to get websites to serve up non-standard HTML optimized for Internet Explorer, Mac Safari 5 users can change their user agent settings by enabling the Developer menu through Preferences > Advanced. From the Developer menu, the user agent can be changed so that the browser looks like Mobile Safari 3.2.2 on the iPad, which will force sites to feed HTML5 video streams if they are available.

There are, of course, some caveats. Unlike some other browsers, changing the Safari user agent only persists for the current browser window instance. Additional browser windows or restarting the browser gets you back to the original agent. John Gruber of Daring Fireball, who originally figured all of this out, provides a Terminal command that will permanently change the user agent, but since that can break other functionality, the temporary route is recommended. For sites that only serve Flash video, users can still go Flash-free in Safari by opening the site in Google Chrome, which features its own built-in Flash player.

[via Mac OS X Hints]



Categories

Software Mac

As more people get fed up with the poor performance and security flaws of Adobe's Flash Player, they are uninstalling the Flash plug-in...
 

Add a Comment

*0 / 3000 Character Maximum Comment Moderation Enabled. Your comment will appear after it is cleared by an editor.

15 Comments

Filter by:
djmtype

this doesn't work with netflix

November 23 2010 at 1:00 AM Report abuse rate up rate down Reply
Phil Leitch

Went Flash-free a few weeks ago and can't say I've missed anything life-shattering. The only time I had a problem was trying to view my Google Analytics stats. But opening them in Chrome solved the problem for me so death by lack of Flash was averted.

I really think this is an all or nothing dilemma. If you're somebody that visits sites that are mostly Flash you probably don't want to do it. Other people probably won't even notice they no longer have Flash installed.

I'm a fairly heavy internet user and can't say I've noticed.

November 22 2010 at 12:44 PM Report abuse rate up rate down Reply
1 reply to Phil Leitch's comment
Chad Upton

Were you having a lot of problems with flash?

November 22 2010 at 3:24 PM Report abuse rate up rate down Reply
Damon

Ive done this and it was working for 30 mins or so, then it crashed and i cant run it again. it keeps crashing. I even used time machine to Overwrite Safari. could anyone help me, Please ??

November 22 2010 at 10:40 AM Report abuse rate up rate down Reply
5 replies to Damon's comment
Screw

Or you just install a plugin that does this everywhere without drawbacks. Just check the Safari Extension Gallery.

November 22 2010 at 10:35 AM Report abuse rate up rate down Reply
esposimi

You can enable HTML5 viewing for most videos in YouTube by joining the beta. http://youtube.com/html5

November 22 2010 at 10:31 AM Report abuse rate up rate down Reply
Jacob Friis Saxberg

Or use ClickToFlash Safari extension: http://hoyois.github.com/safariextensions/clicktoflash/ as mentioned by @gruber.

November 22 2010 at 10:29 AM Report abuse rate up rate down Reply
3 replies to Jacob Friis Saxberg's comment
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.