summaryrefslogtreecommitdiffstats
path: root/templates/show_xspf_player.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 19:16:56 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 19:16:56 +0000
commitc63317e869d1da28ab3a429bf4116446f9bcbc64 (patch)
tree6b717f2dae35ddd22bcd7755c3c0f9d453a3acd0 /templates/show_xspf_player.inc.php
parent98c4a922621fd2df37a1204c09b06594f20536ea (diff)
downloadampache-c63317e869d1da28ab3a429bf4116446f9bcbc64.tar.gz
ampache-c63317e869d1da28ab3a429bf4116446f9bcbc64.tar.bz2
ampache-c63317e869d1da28ab3a429bf4116446f9bcbc64.zip
some initial flash player integration from forums and some bug fixes on most popular
Diffstat (limited to 'templates/show_xspf_player.inc.php')
-rw-r--r--templates/show_xspf_player.inc.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/show_xspf_player.inc.php b/templates/show_xspf_player.inc.php
new file mode 100644
index 00000000..f0494cb2
--- /dev/null
+++ b/templates/show_xspf_player.inc.php
@@ -0,0 +1,34 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2006 Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+?>
+
+<html>
+<head><title>Ampache XSPF Player</title></head>
+<body style="margin:0px; padding:0px; border:0px;">
+<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="168">
+<param name="allowScriptAccess" value="sameDomain"/>
+<param name="movie" value="<?php echo conf('web_path'); ?>/modules/flash/xspf_player.swf?playlist_url=<?php echo conf('web_path'); ?>/song.php<?php echo $play_info; ?>&autoplay=true&autoload=true"/>
+<param name="quality" value="high"/>
+<param name="bgcolor" value="#E6E6E6"/>
+<embed src="<?php echo conf('web_path'); ?>/modules/flash/xspf_player.swf?playlist_url=<?php echo conf('web_path'); ?>/song.php<?php echo $play_info; ?>&autoplay=true&autoload=true" quality="high" bgcolor="#E6E6E6" name="xspf_player" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="center" height="168" width="400"></embed>
+</object>
+</body>
+</html>