add swf and mp3 support
[squirrelmail.git] / plugins / newmail / testsound.php
index 9a78ce7..fa1192d 100644 (file)
@@ -35,7 +35,7 @@ if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) {
 echo html_tag( 'table',
          html_tag( 'tr',
              html_tag( 'td',
-                    '<embed src="'.htmlspecialchars($sound).'" hidden="true" autostart="true" width="2" height="2">'."\n".
+                    newmail_create_media_tags($sound)."\n".
                     '<br />'.
                     '<b>' . _("Loading the sound...") . '</b><br />'.
                     '<form>'.