From a88acdd603b76521c34a8a74feeeadbe6f32b40e Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 14 Mar 2005 18:14:14 +0000 Subject: [PATCH] Better invocation of the new MP3 player --- mod/resource/type/file/resource.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index caac31f3e42..2927fa8d566 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -365,9 +365,11 @@ function display() { echo "wwwroot/lib/mp3player/mp3player.swf?src=$fullurl&autostart=yes\">"; echo ''; echo ''; - echo "wwwroot/lib/mp3player/mp3player.swf?src=$fullurl&autostart=yes\" "; + echo ''; + echo "wwwroot/lib/mp3player/mp3player.swf?src=$fullurl\" "; echo " quality=high bgcolor=\"#333333\" width=\"600\" height=\"70\" name=\"mp3player\" "; echo ' type="application/x-shockwave-flash" '; + echo ' flashvars="&buffer=10&autoPlay=yes&"'; echo ' pluginspage="http://www.macromedia.com/go/getflashplayer">'; echo ''; echo '';