Ubuntu 14.04: Videos refusing to go fullscreen and freeze on Firefox

5,426

Solution 1

I have the same issue with Ubuntu Gnome 14.04 but I can specify it a little bit. I can have fullscreen once, once I come back by hitting the Esc key or clicking the button, this error occurs. Killing the "plugin-container" process lets the flash-plugin crash and after reload you can give it another try. For Youtube there is a workaround by switching to HTML5 instead of Flash. Go to https://www.youtube.com/html5 and mark that you want to use HTML5 whenever possible. To get the H.264 codec working in 14.04, you have to use a PPA as the package is not (yet?) available in the official repositories. Once you managed that at least Youtube will work fullscreen.

Solution 2

This is not a "fix", but a workaround. I found it on the Arch Linux Wiki (where they also have solutions for other browsers). That said, it worked flawlessly for me.


One-time Setup:

Install the devilspie package (you'll need to have Universe enabled):

sudo apt-get install devilspie

Create a folder called .devilspie inside your user directory, and a configuration file named flash-fullscreen-firefox.ds in there:

mkdir ~/.devilspie
nano flash-fullscreen-firefox.ds

Then add the following content to that file and save it:

(if
(is (application_name) "plugin-container")
(begin
(focus)
)
)

To make it work NOW:

Run devilspie. Press Alt-F2 then type /usr/bin/devilspie followed by Enter.

To make it work upon login to your system:

  1. Press Alt+F2 and type: gnome-session-properties followed by Enter.
  2. Press the Add button and insert Devilspie inside the field name, and /usr/bin/devilspie inside the command field.
  3. Press Add, then close Startup Application Preferences.
  4. There is no step 4, you're done!
Share:
5,426

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    In Firefox on Ubuntu 14.04, just upgraded from 13.10, I can't make any video full screen without issues. When I tried it usual do this: video freezes, and sometimes you can hear the audio, but not always.