Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 2 monitors, and I am using google chrome. When I watch a video in full screen on one monitor and then click on the other monitor it minimizes youtube to the embedded playback.

I will not be able to use the other flash player found in chrome://plugins/ So it definitely has to be done through /opt/google/chrome/PepperFlash/libpepflashplayer.so How can I make it stay in full screen mode? I should note that I am using Compiz.

What is the action that tells youtube that is not the active app when you click on somethign outside of it.? I want to find it and break it.

share|improve this question

2 Answers 2

up vote 4 down vote accepted
+50

There is a hack at https://github.com/ali1234/fullscreenhack that works for pepper flash also. It works by hooking into the system calls that flash uses to get the monitor/geometry info and property changes.

It's pretty simple to use:

First Download the github and extract it (does not matter where). Open a terminal and navigate to the directory.

  1. Install dependencies: sudo apt-get install build-essential libx11-dev libxinerama-dev libxrandr-dev

  2. Build it: make

  3. Run chrome with LD_PRELOAD: env LD_PRELOAD="/path/to/libfshack-ppapi.so" google-chrome %u

  4. Profit!

That being said, I've used the Maximize Flash extension for chromium and making the browser full screen via F11 with great results, however the Maximize Flash extension has ceased working for me.

Finally the code for step 3 should look something like this: env LD_PRELOAD="/home/jan/Downloads/fullscreenhack-master/libfshack-ppapi.so" google-chrome %u

share|improve this answer
    
please make the commands that I need to enter more clear –  user194862 Oct 20 '13 at 23:24
    
I've formatted them as code so it should be more clear. –  Li Lo Oct 20 '13 at 23:34
    
I just ran the code from 1) and then make but it says No targets specified and no makefile found. Stop. Do I need to download anything from that link or just run the commands? –  user194862 Oct 20 '13 at 23:44
1  
Yes, you need to download the code from github. –  Li Lo Oct 21 '13 at 9:07
    
For the life of me, I can't get this command to work via .desktop file. The code works great when launching via CLI, but for some reason doesn't work from the desktop launcher. Any ideas? –  jat255 Feb 20 at 17:53

I solved this problem myself by following this guide.

The guide provides solutions to:

  1. Get full screen flash videos to be displayed on any monitor
  2. Get flash videos to remain full screen while working in the other desktop
  3. A tweak to move windows to a different display using keyboard shortcuts
  4. How to extend the wallpaper across monitors or use a different wallpaper for each monitor

-Vegard

share|improve this answer
    
I aware of this guide but it does not cover pepper flash. Adobe flash is no longer supported and will be out-dated soon. Also the addons are not proper fixes –  user194862 Oct 18 '13 at 17:32
    
It is a great article containing a solution to the problem, but please include the excerpt of the solution into the answer. Just in case the article went down, your answer will still contain the proper instructions. This would make it really valuable. –  lgarzo Oct 18 '13 at 17:36
    
@Igarzo, no it would not, the guide is for adobe flash, I need pepper flash –  user194862 Oct 18 '13 at 23:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.