By default, Firefox crashes when trying to view a full-screen video on say… YouTube. At least for me it used to crash until I found a fix and from what I’ve understand it’s got something to do with the graphic card drivers and it’s affecting both nVidia and ATI. If that is the case for you also, you may want to read on.

To fix the full-screen flash videos bug, you need to preload a library called libGL.so.1 when you start Firefox or Swiftfox. Here is how to do it:

All you have to do is go to Applications > Internet and right click Firefox, then select “Add to panel”. Then right click the newly create icon on your Gnome panel, edit it and in the “Command” field, in front of firefox %u put env LD_PRELOAD=/usr/lib/libGL.so.1

env LD_PRELOAD=/usr/lib/libGL.so.1 firefox %u