linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [58] Backport r57 to branch 0.0.9.


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [58] Backport r57 to branch 0.0.9.
Date: Sun, 08 May 2011 08:33:01 +0000

Revision: 58
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=58
Author:   valkov
Date:     2011-05-08 08:33:00 +0000 (Sun, 08 May 2011)
Log Message:
-----------
Backport r57 to branch 0.0.9.

Revision Links:
--------------
    http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=57

Modified Paths:
--------------
    branches/0.0.9/src/lm_create_video_object.js

Property Changed:
----------------
    branches/0.0.9/


Property changes on: branches/0.0.9
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk:6,9,11,13,19,21,52,55
   + /trunk:6,9,11,13,19,21,52,55,57

Modified: branches/0.0.9/src/lm_create_video_object.js
===================================================================
--- branches/0.0.9/src/lm_create_video_object.js        2011-05-08 08:30:34 UTC 
(rev 57)
+++ branches/0.0.9/src/lm_create_video_object.js        2011-05-08 08:33:00 UTC 
(rev 58)
@@ -339,6 +339,15 @@
                                  (this.controls ? 24 : 0))+"px"),
                                "important");
 
+    // In channels/user pages in YouTube the web controlls are
+    // overlapped by this element.
+    if (/youtube\.com/i.test(window.location.hostname) &&
+       document.getElementById("playnav-playview"))
+    {
+       var el =        document.getElementById("playnav-playview");
+       el.style.setProperty("margin-top", "50px", "important");
+    }
+
     // The thumbnail image overlaps the toggle plugin button after our
     // changes. This way our button is visible.
     if (/vimeo\.com/i.test(window.location.hostname) && 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]