19 December 2007

Fullscreen YouTube Now Available on Linux

Fullscreen YouTube was limited to Mac/Windows until very recently. The new (released 2 weeks ago) Adobe Flash Player works with it. To install it, run each of these commands one at a time. Please note that the wget one goes on to the second line because the URL is so long. That command starts at "wget" and ends at the first ".tar.gz".

cd ~/Desktop
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
tar xf install_flash_player_9_linux.tar.gz
cd install_flash_player_9_linux/
sudo ./flashplayer-installer

Now copy this down into gedit or something because it'll tell you to close the web browser. When it asks for the install path for the browser, if it's Firefox 2, put /usr/lib/firefox If it's Firefox 3 and you're fully updated, put /usr/lib/firefox-3.0-3.0b1 If you're using Konqueror with KDE3, it'll be /usr/lib/kde3 but it'll probably tell you that's not a valid place to put it because it doesn't have a plugins and a components directory, so then it'll assume Opera, won't find that, and will assume Netscape, and won't find that. You can trick it into thinking it's installing in Firefox by doing sudo mkdir /usr/lib/kde3/components/ If anyone knows where Konqueror for KDE4 and Epiphany go, leave it in a comment. I don't have those installed.

EDIT:Or since Hardy has a working deb, download the Flash package for Hardy.

If you're using Compiz Fusion, turn off "Unredirect Fullscreen Windows" in the General section and turn off "Legacy Fullscreen Support" in the Workarounds plugin. If you don't, the controls for the player get cut off.


Pasquale said...

In Gutsy i had flash automatically updated with update-manager

good holiday :D

Anonymous said...

Your advice on the compiz settings solved my problem, thanks. Unfortunately the fullscreen video is very choppy. I get framerates of ~2 fps on various flash video players. I know I've got the hardware for the job, so something must not be optimized.

Any thoughts?

Mackenzie said...

Sorry, I don't know. Is it choppy when you use Metacity too, or just with Compiz?

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...


Are you serious? Linux Flash couldn't do fullscreen? Christ, you could at least zoom on - oh, that's right, you're not using Macs. Oh, and your shell commands are so easy! Whereas I just have to click "Software Update", you get to do all of this drudgery!

(I'm her boyfriend, I'm allowed to troll.)

Mackenzie said...

Patrick, dear, we have zoom in too. I'm pretty sure you've seen me do it.

There was a way to get it through the nice "click the checkmark and hit apply" thing, but since it was updated, that was "broken" (it uses an md5sum to check for corrupted downloads, and changing the one on Adobe's site meant the md5sum changed too). If you read the end of the post, there is a package for it, that you can double-click and hit "install" on the GDebi Installer (unlike you Mac ninnies with your double-click-to-mount-the-dmg then click next 10 times during install silliness).

I miss Linux. I'm on the Mac at work. And now I have to delete my last backup of my Linux lappy so that the company can start doing backups since their backup drive died :(

tabasco said...

I use the Compiz-fusion zoom option to watch fullscreen movies. This way the framerate stays good. And optionally you install the tool 'unclutter' so your cursor dissappears.

LeszekM said...

Tabasco, great idea. Thanks!

pts said...

Thanks for publishing the Compiz settings to make Flash work in full screen. It worked for us on Ubuntu Hardy with non-youtube websites as well. The relevant settings are in Gnome desktop > System > Preferences > Advanced desktop effects > General options .