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?
The only successful workaround that I have found so far is an extension for Chrome:
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.
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.
There is some code here
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.
There is a very similar issue which does not answer exactly your question, but still might be helpful for your usecase. When watching fullscren HTML5 videos (e.g. youtube), the video closes by default if you click anywhere. This behavour can be disabled in Firefox by setting
about:config. Anyhow, this does not effect Flash videos.
My preferred workaround for flash fullscreen multiple monitors issues is MaximizeFlash extension for Chrome.
It allows the flash video to fill the entire browser window, which can then be put in fullscreen and you can work in another window.
Only downside is that the flash controls are still visible.
I recommend UMPLAYER for youtube videos, also searching, watching and saving features includes.
HD videos and much more.
Would you test features of youtube?
Maybe people like me are still searching for solutions.
Use this app as a workaround with additional powers of download/save/search as well as NOT using flashplayer you may wish to try.
Shows any resolution windowed or full screen on any screen but as a word of warning - Minitube is not an attempt to emulate Youtube, just a way to screen videos. Works well.
My way to solve this problem is by installing Google Chrome for Linux.
- Install Gdebi (
sudo apt-get install gdebi)
- Download Google Chrome
- Select the right version (for amd64 or i386)
- Install Google Chrome with Gdebi (or the Ubuntu Software Center)
- In Chrome Flash is working correctly (the flash plugin in Chrome is newer than the Flash plugin in Firefox, and doesn't contain the bug)
- Now Full screen flash is working on the correct screen (tested on Ubuntu Mate, should be working for other Ubuntu flavours, Debian or Linux Mint too). For RPM Based distributions use the RPM installer instead of the DEB installer.