looks like opera implemented it according to apple specs and height/width
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Dec 2004 08:42:25 +0000 (08:42 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Dec 2004 08:42:25 +0000 (08:42 +0000)
is required by this browser. without them opera defaults to 100-200 height.
fix for bug.818958

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8435 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/newmail/setup.php
plugins/newmail/testsound.php

index 0deb4dac1c3ce3019806f310bd3b53e1e0652137..4925214d80da24e25346b29f7909cc29e4c48745 100644 (file)
@@ -235,8 +235,12 @@ function newmail_plugin() {
         }
 
         if ($totalNew > 0 && $newmail_enable == 'on' && $newmail_media != '' ) {
         }
 
         if ($totalNew > 0 && $newmail_enable == 'on' && $newmail_media != '' ) {
+            /**
+             * docs about embed
+             * Apple: http://www.apple.com/quicktime/authoring/embed.html
+             */
             echo '<embed src="'.htmlspecialchars($newmail_media) .
             echo '<embed src="'.htmlspecialchars($newmail_media) .
-                "\" hidden=\"true\" autostart=\"true\">\n";
+                "\" hidden=\"true\" autostart=\"true\" width=\"2\" height=\"2\">\n";
         }
         if ($totalNew > 0 && $newmail_popup == 'on') {
             echo "<script language=\"JavaScript\">\n".
         }
         if ($totalNew > 0 && $newmail_popup == 'on') {
             echo "<script language=\"JavaScript\">\n".
index cba784dcf5162319f166a2061ac2113cc32f274e..c1a8540a15d36f32b048e053801cba3c030e532b 100644 (file)
@@ -35,7 +35,7 @@ if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) {
 echo html_tag( 'table',
          html_tag( 'tr',
              html_tag( 'td',
 echo html_tag( 'table',
          html_tag( 'tr',
              html_tag( 'td',
-                    '<embed src="'.htmlspecialchars($sound).'" hidden="true" autostart="true">'."\n".
+                    '<embed src="'.htmlspecialchars($sound).'" hidden="true" autostart="true" width="2" height="2">'."\n".
                     '<br />'.
                     '<b>' . _("Loading the sound...") . '</b><br />'.
                     '<form>'.
                     '<br />'.
                     '<b>' . _("Loading the sound...") . '</b><br />'.
                     '<form>'.