[pLog-svn] r5542 - plog/branches/lifetype-1.2/js/tinymce/plugins/insertaudio

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Jun 13 16:46:55 EDT 2007


Author: oscar
Date: 2007-06-13 16:46:55 -0400 (Wed, 13 Jun 2007)
New Revision: 5542

Modified:
   plog/branches/lifetype-1.2/js/tinymce/plugins/insertaudio/editor_plugin.js
Log:
Now it should work better.

Modified: plog/branches/lifetype-1.2/js/tinymce/plugins/insertaudio/editor_plugin.js
===================================================================
--- plog/branches/lifetype-1.2/js/tinymce/plugins/insertaudio/editor_plugin.js	2007-06-13 20:43:42 UTC (rev 5541)
+++ plog/branches/lifetype-1.2/js/tinymce/plugins/insertaudio/editor_plugin.js	2007-06-13 20:46:55 UTC (rev 5542)
@@ -237,8 +237,9 @@
 function getAudioFlashHTML( url )
 {		
 	var baseUrl = TinyMCE.baseURL.substring(0, TinyMCE.baseURL.indexOf("/js/tinymce",0));
+	var playerUrl = baseUrl + "/flash/mp3player/mp3player.swf";
 		
-	var html =	'<object data="'+baseUrl+'/flash/mp3player/mp3player.swf" type="application/x-shockwave-flash" width="320" height="20" class="ltPlayer">'+
+	var html =	'<object data="'+playerUrl+'" type="application/x-shockwave-flash" width="320" height="20" class="ltPlayer">'+
 			'<param name="quality" value="best" />'+
 			'<param name="bgcolor" value="#FFFFFF" />'+
             '<param name="movie" value="' + playerUrl + '" />' +



More information about the pLog-svn mailing list