summaryrefslogtreecommitdiffstats
path: root/templates/show_xspf_player.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-01 23:47:36 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-01 23:47:36 +0000
commitabc6eac0e3a28317f8114f78016cfb2b4753003d (patch)
tree39b7a55cb7ad45126d2cddc2f5aea09413ad1872 /templates/show_xspf_player.inc.php
parenta8f79bb8f4c222334fbb4d2a216260d0de44a7e3 (diff)
downloadampache-abc6eac0e3a28317f8114f78016cfb2b4753003d.tar.gz
ampache-abc6eac0e3a28317f8114f78016cfb2b4753003d.tar.bz2
ampache-abc6eac0e3a28317f8114f78016cfb2b4753003d.zip
maybe fix #404, unconfirmed implemented #405 other misc cleanup
Diffstat (limited to 'templates/show_xspf_player.inc.php')
-rw-r--r--templates/show_xspf_player.inc.php43
1 files changed, 21 insertions, 22 deletions
diff --git a/templates/show_xspf_player.inc.php b/templates/show_xspf_player.inc.php
index bc387f7f..1ca54abd 100644
--- a/templates/show_xspf_player.inc.php
+++ b/templates/show_xspf_player.inc.php
@@ -26,35 +26,34 @@
<!--
//Disable right mouse click Script to hide the source url for the flash player it prevents ripping music a bit.
//When used together with locked songs this will help just a bit more.
-function clickIE4(){
-if (event.button==2){
-return false;
-}
-}
+//function clickIE4(){
+//if (event.button==2){
+//return false;
+//}
+//}
-function clickNS4(e){
-if (document.layers||document.getElementById&&!document.all){
-if (e.which==2||e.which==3){
-return false;
-}
-}
-}
+//function clickNS4(e){
+//if (document.layers||document.getElementById&&!document.all){
+//if (e.which==2||e.which==3){
+//return false;
+//}
+//}
+//}
-if (document.layers){
-document.captureEvents(Event.MOUSEDOWN);
-document.onmousedown=clickNS4;
-}
-else if (document.all&&!document.getElementById){
-document.onmousedown=clickIE4;
-}
-
-document.oncontextmenu=new Function("return false")
+//if (document.layers){
+//document.captureEvents(Event.MOUSEDOWN);
+//document.onmousedown=clickNS4;
+//}
+//else if (document.all&&!document.getElementById){
+//document.onmousedown=clickIE4;
+//}
+//document.oncontextmenu=new Function("return false")
// -->
</script>
<div id="mp3player">
<?php
-$player_url = sprintf("%s/modules/flash/xspf_jukebox.swf?autoplay=true&repeat_playlist=false&crossFade=false&shuffle=false&skin_url=%s/modules/flash/Original/&playlist_url=%s",Config::get('web_path'),Config::get('web_path'),$play_url);
+$player_url = sprintf("%s/modules/flash/xspf_jukebox.swf?autoplay=true&repeat_playlist=true&crossFade=false&shuffle=false&skin_url=%s/modules/flash/Original/&playlist_url=%s",Config::get('web_path'),Config::get('web_path'),$play_url);
?>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="170" id="xspf_player" align="middle">
<param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />