Announcement

  •  » Extensions
  •  » Stripped + Embedded Videos + Chrome on Mac = incompatibility

#1 2012-10-26 10:19:09

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Stripped + Embedded Videos + Chrome on Mac = incompatibility

Hi Zaphod and mistic100,

On Mac with Chrome, with Stripped 2.3.1 (Black style) and Embedded Videos 2.4.e, I can't click on the video to play it. Just like the bug mistic100 had fixed with [Subversion] r17678 2 months ago.

I suppose this is related to CSS changed on ".js .hideTabsZone" introduced on Stripped with [Subversion] r17961

As a quick workaround I have applied this change:

Code:

Index: include/gvideo.inc.php
===================================================================
--- include/gvideo.inc.php      (revision 18750)
+++ include/gvideo.inc.php      (working copy)
@@ -81,7 +81,7 @@
   global $user;
   if (strpos('stripped', $user['theme']) !== false)
   {
-    $template->append('head_elements', '<style type="text/css">.hideTabs{display:none;}</style>');
+    $template->append('head_elements', '<style type="text/css">.hideTabs{display:none !important;}</style>');
   }
 
   $template->set_filename('gvideo_content', dirname(__FILE__).'/../template/video_'.$video['type'].'.tpl');

(I have added "!important")

Does it sound good for you?

Offline

 

#2 2012-10-26 21:45:41

Zaphod
Former Piwigo Team
2006-11-13
441

Re: Stripped + Embedded Videos + Chrome on Mac = incompatibility

I should add a js rule to hide the .hideTabs zone if no image is dispayed.
(A video = no image).

It would probably be better because it will apply to all plugins that change the image block.

Offline

 
  •  » Extensions
  •  » Stripped + Embedded Videos + Chrome on Mac = incompatibility

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact