[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [384] Fix for Vimeo.
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [384] Fix for Vimeo. |
Date: |
Tue, 01 Jan 2013 15:41:52 +0000 |
Revision: 384
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=384
Author: valkov
Date: 2013-01-01 15:41:51 +0000 (Tue, 01 Jan 2013)
Log Message:
-----------
Fix for Vimeo. Sometimes a div with warnings about missing flash or
browser video support is left in the space that Linterna M?\195?\161gica should
be.
Modified Paths:
--------------
trunk/src/lm_site_vimeo.js
Modified: trunk/src/lm_site_vimeo.js
===================================================================
--- trunk/src/lm_site_vimeo.js 2013-01-01 15:06:08 UTC (rev 383)
+++ trunk/src/lm_site_vimeo.js 2013-01-01 15:41:51 UTC (rev 384)
@@ -432,7 +432,19 @@
}
}
+ // A div left by the website player is taking the space for LM
+ // Usually a waring about missing flash or no supported video
+ // format in the browser.
+ if (lm)
+ {
+ var div = lm.previousSibling;
+ if (/HTMLDiv/i.test(div))
+ {
+ div.parentNode.removeChild(div);
+ }
+ }
+
// Fix video galerry displacement on first page when LM volume
// slider is showing.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [384] Fix for Vimeo.,
Ivaylo Valkov <=