Filed under: Windows, Macintosh, Linux, Browser Tips, How-Tos, Troubleshooting
How to fix Flash video performance in Firefox
Do YouTube and other Flash-based videos stutter when you view them in Firefox, but work fine in other browsers like Internet Explorer, Chrome, and Safari? This appears to be a problem that affects both the Windows and Mac versions of Firefox, and the problem (surprisingly enough) turns out not to be Flash - it's Firefox's session restore feature.
Lifehacker has a post based on information that one of their readers wrote in with. Basically, Firefox takes a snapshot of all of your open tabs every ten seconds, so that if you close your browser, you can open it to where you left off. Though you wouldn't think grabbing the plain text URL of a few webpages would be such an arduous task for the browser that it causes video to stutter, for some reason it is.
So what's the solution? Well, if you want to throw the baby out with the bath water, you can turn off the session restore feature altogether. A more sane solution is to simply lengthen the period of time between snapshots. To do this, type about:config into Firefox's address bar, then in the filter box enter browser.sessionstore.interval. The default value is 10000, which is the number of milliseconds between snapshots. Setting the number to 120000 lengthens the period to two minutes, a more reasonable but still useful period. Of course, you can set it to whatever you want, as long as you keep in mind that you're dealing with milliseconds.
I can't tell you how happy I am with this little hack - it has already prevented me from cursing Firefox a few times today.
Get a WordPress.com Blog
So, just how good at time waster games are you? Think you've got the stuff? Well, The World's Hardest Game 2.0 doesn't think you do.
Yes, amazingly, it's possible to have a sequel to a game called "The World's Hardest Game". It doesn't seem logically possible, since if the first one was actually the world's hardest, how could another one come along and share the moniker? It made me doubt the name in the first place. That is, until I tried the game.
The mechanics of the game are very simple. You are a small red square, ...

Reader Comments (Page 1 of 1)
tunaman said 4:44PM on 8-22-2009
Gee, I discovered this back in November 2008:
http://jimcofer.com/personal/?p=2017
Reply
Kevin said 6:34PM on 8-22-2009
Oh shut up.
2late2die said 9:44PM on 8-22-2009
And you've been sitting on this gold mine for a year?!?! So selfish! :)
Anyway, you guys should really stop watching so much YouTube. How about letting us know of some useful apps?
just kidding... sort of... maybe... :)
Unknown said 5:23PM on 8-22-2009
Thanks! This has been killing my ability to play flash games.
Reply
iofthestorm said 10:23PM on 8-22-2009
Eh, it's not like it's just saving the plain text url. Session restore also saves form data, and I think possibly tries to cache stuff too, because sometimes if Firefox crashes and then I lose my internet connection when the session restores the pages still come up.
Reply
BananaBoat said 3:56AM on 8-23-2009
Flash has been a problem in Firefox for as long as I can remember. If this is really all it takes to fix it, then I'm certainly willing to give it a try. Does this fix the problem of the audio dropping out of flash videos as well?
3.5 has been crashing on me a lot lately. I'm about ready to go back to 3.0, unless I can find the source of the problem (as always, I've got to assume it is an add-on causing it, though who can ever know for sure)
Thanks
Reply
Saint Seminole said 2:56PM on 8-23-2009
I guess I'm fortunate -- haven't had this problem at all in FF 3.5.2... Maybe some other setting of mine has fixed it by accident. Thanks for the tip, just in case it starts to happen for me...
Reply
Chris said 11:48PM on 8-24-2009
I've got a better solution.
The TabMix Plus extension offers the ability to replace the built in session restore function in Firefox with its own more powerful and customizable version.
I've yet to see any flash video stuttering even with Youtube in full screen HD since I installed it.
Reply
Omer Zach said 8:34PM on 9-03-2009
You'd think they would just record your actions when you navigate to a new page, open a new tab or window, etc.
Reply
Dantk2 said 4:25AM on 9-15-2009
Didn't help me, video keeps flashing and stuttering, but thanks anyway
Reply
Steve said 6:40PM on 9-19-2009
Did not work.
Reply
cptsilver said 12:37PM on 10-01-2009
wanted this to work, but didn't... flash still sucks in FF
Reply