xspf mp3 player for Vbulletin needed

This Mp3 Player is free for use and very basic for your users

.zip file contents:

xspf_player.as - actionscript file for your configuration.
xspf_player.swf - your player.
xspf_player.fla - for editing the player.
mp3player.html - your html page if you use popup

First of All edit your xspf_player.as and mp3player.html

You can use "http://hideout.com.br/shows/allshows.xspf" file for playlist.It contains 115 songs from other servers.So it doesnt use your bandwidth

How can you do your own playlists?

Here is an example:

Code:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
  <title>Hitportal Mp3 Player</title>
  <annotation>http://www.hitportal.net</annotation>
  <creator>Cagonni</creator>
  <info>http://webjay.org/by/hideout/allshows</info>
  <location>http://webjay.org/by/hideout/allshows.xspf</location>
  <license>http://creativecommons.org/licenses/by-sa/1.0/</license>
  <trackList>  
<track>
<location>http://www.startimerecords.com/mp3s/supercuts/ambulance_countrygentleman.mp3</location>
<image>http://ec1.images-amazon.com/images/P/B000E8N8ZW.01._AA240_SCLZZZZZZZ_.jpg</image>
<annotation>Ambulance LTD - Country Gentleman</annotation>
<info>http://indoorfireworks.blogspot.com/2005_05_01_indoorfireworks_archive.html</info>
</track>

Template Changes:

you can do it with a popup

in headinclude template find:

Code:

Code:
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>

add above:

Code:

Code:
<script type="text/javascript">

function openpopup(popurl){
var winpops=window.open(popurl,"","width=500px,height=250px,status")
}
</script>

in navbar template:

The code you edit and write in template:

Code:

Code:
	<td class="alt2" valign="top" nowrap="nowrap">
	<a href="javascript:openpopup('http://www.yoursite.com/mp3player.html')"><center><img src="winamp.gif" alt="Yoursite Mp3 Player" border="0"><br>Mp3 Player</a></center>
		</td>

if you want only registered users see this player you can add the code above:

Code:

Code:
<td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">


if you want guest see this player you can add the code above:

Code:

Code:
<if condition="$show['member']">
td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">

Here is a Demo : Hitportal Forum - Yeni Nesil Portal - Soundtrack | Kurtlar Vadisi | DJ Programlarý | Template Monster Serileri | Webmaster

Its my first thread sorry for mistakes
 
Back
Top