How to select on which monitor YouTube fullscreens?

I have a dual monitor set-up. When I'm on YouTube, and I click the fullscreen icon, the fullscreen automatically goes to the second monitor. How do I get it to go fullscreen on my main monitor?


Solution 1:

The only successful workaround that I have found so far is an extension for Chrome:

Multiple Monitor Full Screen

It maximises the Youtube video to the Chrome window which you can then Fullscreen on which ever monitor you like.

You should be aware of a small exiting from full-screen bug that affects Chrome on Ubuntu. Flash swallows the F11 key command so use Ctrl-Tab to switch to a non-flash tab and use F11 from there.

Solution 2:

I think the best solution is using the MaximizeFlash plugin for Chrome. It detects any flash in the page and you can make them fullscreen. To get rid of toolbar up just hit f11. You dont need to install any other apps.

Solution 3:

There is some code here

ali1234/fullscreenhack

Which creates a small wrapper library that can be pre-loaded before launching firefox or chrome and it fixes the information about the screen sizes that flash uses, so you get full screen flash on either monitor at the correct full size. It is quite simple to set up

sudo apt-get install build-essential libx11-dev libxinerama-dev libxrandr-dev
git clone git://github.com/ali1234/fullscreenhack.git
cd fullscreenhack
make
env LD_PRELOAD=./libfullscreenhack.so firefox

then try a video full screen.

Solution 4:

This works:

Fullscreen Flash Video With Dual Monitors Workarounds | Ubuntu Root

Solution 5:

On Ubuntu 13.04, this command works for me:

sudo sed -i 's/_NET_ACTIVE_WINDOW/_AET_ACTIVE_WINDOW/g' /usr/lib/flashplugin-installer/libflashplayer.so