bugLinterna Mágica - Bugs: bug #37630, Youtube: black box were video...


bug #37630: Youtube: black box were video should be

Submitted by:  Daniel Gnoutcheff <gnoutchd>
Submitted on:  Thu Oct 25 02:00:42 2012  
Votes:  100  
Category: Previously working website does not anymoreSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ivaylo Valkov <valkov>
Open/Closed: ClosedRelease: git-master

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sun Nov 11 14:47:39 2012, comment #12:

Every time I've tested Chromium it worked. The only reason it is not officially supported and no bugs are fixed (although I worked on fixing some) is because of the license issues. [1] [2]

[1] http://libreplanet.org/wiki/List_of_software_that_does_not_respect_the_Free_System_Distribution_Guidelines#chromium-browser

[2] http://code.google.com/p/chromium/issues/detail?id=28291

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sun Nov 4 07:47:41 2012, comment #11:

Tests done. I can confirm that as of r326, this bug is fixed on the stable branch under all of Firefox 16.0.2, Chromium 22.0.1229.94, Midori 0.4.3, and Epiphany 3.6.0 (at least as shipped in Ubuntu 12.10). Sweet!

BTW, I figured out why I was having so much trouble under Epiphany: it took me a while to figure out how to remove old userscripts, so I ended up with two different versions of LM installed and enabled simultaneously, and apparently that doesn't work well. ;) Myself, I almost always use Chromium, but I wanted to test against at least some of the browsers listed at <http://linterna-magica.nongnu.org/#support> as officially supported.

Daniel Gnoutcheff <gnoutchd>
Sun Nov 4 06:54:12 2012, comment #10:

My mistake. The fix relied on a function available only in trunk due to some optimisations there. I haven't actually tested the stable build as I assumed it should wok. Now it does. Can you please test again?

Epiphany is not my default browser for a long time (maybe a year), because of the constant crashing in the last versions in the 2.x series and some of the first ones in 3.x. I'm testing it from time to time, but I don't have the observations of a person using it constantly. I'm planning to return to Epiphany soon. Meanwhile please report any issues in separate bug reports related to Epiphany. I hope I will be able to fix them.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sat Nov 3 23:27:16 2012, comment #9:

I can confirm that r323 seems to fix this bug in trunk (and, furthermore, I can confirm that it wasn't working before that revision). However, the stable branch is still not working, even with the backport: it still looks exactly as it did in my previous screenshot. (I tested with both Firefox 16.0.2 and Chromium 22.0.1229.94, but not Epiphany this time, as for some reason I'm having a lot of trouble with LM in Epiphany.)

Daniel Gnoutcheff <gnoutchd>
Sat Nov 3 14:50:39 2012, comment #8:

I've implemented a fix in r323 in trunk. It is also merged back to the stable branch (0.0.12).

Please test the svn builds (stable or trunk) and report back. If there are no related issues, it will be released as 0.0.12-4.


Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sat Nov 3 08:57:18 2012, comment #7:

It seems the code that fixes bug #35992 triggers when the HTML5 player shows a warning to install flash.

The bug occurs only when there is no flash plugin and HTML5 is with highest priority in the configuration. Because of the priority the Linterna Mágica interface stays blocked when the HTML5 interface is hidden to fix some displacement issues in bug #35992. The match is against a CSS class name, so this is probably the trigger for the code.

Can anyone confirm this warning without flash plugin and Linterna Magica? I'm already working on a fix anyway.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sun Oct 28 17:25:23 2012, comment #6:

This bug also affect me.

Trisquel Mini 5.5. Abrowser 14.0.1



Vicente Herrera Cobo <trinux>
Sun Oct 28 07:37:48 2012, comment #5:


From your report I got the impression that it might be the trunk version since there are interface changes there that look to what I thought you've described. These changes are yet not final, more work is to be done there and they might cause some glitches and bugs.

Yes you are running a stable version. I was able to observe something similar to what was reported with trunk, so it is not necessary unless you wish to try it.

Trunk is usually more up to date. Important changes are merged back to the stable releases, when a fix is needed, but trunk is not yet ready for a stable release. There are usually newer features in trunk. Trunk is considered unstable.

The current stable release base is 0.0.12 which was released in June. All other versions in the 0.0.12-x family have "minor" changes and fixes.

It must be a change in YouTube that triggers this.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Fri Oct 26 19:22:27 2012, comment #4:

Interesting -- it hadn't occurred to me to try it with a flash plugin enabled, as I had assumed that flash would only get in LM's way and cause problems. I can confirm that when I enable a flash plugin (in my case, the proprietary one from Adobe), this bug disappears.

For reference, I've attached a screenshot of what I get when I load one of the problematic videos in chromium with LM enabled and flash disabled. To be clear, there's no audio playing either, i.e. it definitely seems that the video isn't getting loaded at all. Ivaylo Valkov, Anonymous, how does this compare to what you've seen?

In general, it seems this bug is triggered by those videos that are always presented with flash, even when the HTML5 trial is enabled. The link I provided is an example of such a video -- or, at least, it appears that way to me. (Does this vary by location? I'm in the northeastern U.S., FWIW.)

More examples of such videos include:

BTW I don't think I'm running trunk -- I'm running the "stable" 0.0.12-3 script installed directly from >http://download-mirror.savannah.gnu.org/releases/linterna-magica/linternamagica-v0.0.12-3.user.js.html>. Does it make sense for me to test again against trunk?

(file #26832)

Daniel Gnoutcheff <gnoutchd>
Fri Oct 26 10:24:43 2012, comment #3:


Thanks for reporting. I was able to kind of reproduce the bug in Epiphany without flash plugin and some random pages at YouTube.

For those other websites, probably the issue is that Linterna Mágica is unable to extract the clips from JavaScript. When there is a plugin installed, the object is inserted into the DOM and Linterna Mágica is able to detect it.

I'm still trying to figure it out.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Fri Oct 26 10:18:44 2012, comment #2:

I tested with Firefox on OP's link and here is what I found. If I enable flash plugin (totem-vegas) LM works just fine. If I disable it, then there is no video, not even a black box. Just LM's side panel appears. So it appears that some kind of flash plugin needs to be installed for LM to work (it happens in a few other sites as well, e.g ted tv, dailymotion).

Fri Oct 26 07:21:33 2012, comment #1:


I am unable to reproduce this. The provided link loads with the HTML5 player both in Abrowser/Firefox and Epiphany. Even when I switch off html5 support in YouTube (http://youtube.com/html5).

The release in the bug report is set to 0.0.12-3 in the bug report, but by you explanation I think you are using the trunk version. Could you specify which version you are using?

Please provide the browser name and version and more links where the bug can be reproduced.


Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Thu Oct 25 02:00:42 2012, original submission:

When visiting Youtube videos that are not presented with the HTML5 player (e.g. http://www.youtube.com/watch?v=T1VCgs9AUn8), LM shows me nothing but a black box with the LM logo in the top right corner. The logo has a tooltip that claims I can click on it to switch between "the HTML5 player" and LM, but clicking it has no visible effect.

When I fool around with the browser's debugging tools, I notice that there's a #movie_player-html5 <div> and a #linterna-magica-0 <div>, both contained in a #watch-player <div> and both having the "display: none" style set on them. If I remove the "display: none" style on the #movie_player-html5 div, the usual LM video display then shows up and plays the video as expected.

I can reproduce this bug on Chromium 22.0.1229.94, Firefox 16.0.1, and Epiphany 3.6.0 (at least as they are packaged in Ubuntu 12.10).

Daniel Gnoutcheff <gnoutchd>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by trinux (Voted in favor of this item)
  • -unavailable- added by trinux (Posted a comment)
  • -unavailable- added by valkov (Posted a comment)
  • -unavailable- added by gnoutchd (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 11 14:47:39 2012valkovStatusWorks For Me=>Fixed
    Sat Nov 3 14:50:39 2012valkovStatusIn Progress=>Works For Me
    Sat Nov 3 08:57:18 2012valkovSeverity3 - Normal=>4 - Important
      StatusNeed Info=>In Progress
    Sun Oct 28 17:25:45 2012trinuxCarbon-Copy-=>Added trinux
    Fri Oct 26 19:22:27 2012gnoutchdAttached File-=>Added Gnoutcheff_LM_blackbox.png, #26832
    Fri Oct 26 07:21:33 2012valkovStatusNone=>Need Info
      Assigned toNone=>valkov

    Back to the top

    Powered by Savane 3.1-cleanup1