Make Flash Animations, Video, Slideshows, Text Effects, Buttons & Menus. Designer Templates, 250 Effects, plus Components & Video Controls

简体中文 繁體中文 Français Español Italiano 日本 Polski Deutsch SWiSHzone.com
SWiSHzone.com Banner
You are here: Home > Community > Tutorials
Community
FREE TOOLS!
Laboratory
Community Overview
Movies
Components
Effects
Screencast Tutorials
> Tutorials
Official Blog
Forums
Other Forums
Request help
Search Tutorials

 All words
 Any words

 Similar words
 Exact words

Number of Results:
Monthly Newsletter
Get our monthly newsletter for all the latest news
competitions, tutorials and tips > Sign Up Now

SWiSH Jukebox: Add SWiSH Jukebox players to your myspace profile
Creator: James MacGregor
Website: http://www.swishzone.com
Submitted: Mon Oct 30 2006
Description: For those myspace users that are tired of the default myspace audio player this tutorial shows you how you can easily replace it with a slick SWiSH Jukebox player. This tutorials assumes you are familiar with publishing SWiSH Jukebox players, if you have any problems with this please see the SWiSH Jukebox help file. Once you have published your SWiSH Jukebox player you simply need to do the following steps to add it to your myspace profile.
Zip File: Download


SWiSH Jukebox :: Tutorial :: File Paths :: SWiSHzone.com

 

Program: SWiSH Jukebox
Build Date: 2006.08.18+

 

Important

In order for some of the features in this tutorial to work properly, you need to ensure that you have the latest release build of SWiSH Jukebox installed (build date 2006.08.18 or later). You can check the build date in SWiSH Jukebox through Help Menu -> About SWiSH Jukebox -> build date.

Introduction

For those myspace users that are tired of the default myspace audio player this tutorial shows you how you can easily replace it with a slick SWiSH Jukebox player. This tutorials assumes you are familiar with publishing SWiSH Jukebox players, if you have any problems with this please see the SWiSH Jukebox help file. Once you have published your SWiSH Jukebox player you simply need to do the following steps to add it to your myspace profile:

Step 1: FTP your SWiSH Jukebox player to your website

As myspace doesn't allow you to upload files other than images you need to upload all the files published by SWiSH Jukebox for you player to your website. Using a ftp client simply upload the files to your website and record the URL e.g.: http://www.yoursite.com/Player016.swf

Step 2: Editing playlist.xml

In the Playlist XML file, you will see information similar to this:

<?xml version="1.0" encoding="UTF-8"?>
<PLAYERSETTINGS autostart="no" playall="yes" loop="no" shuffle="no"/>
<PLAYLIST>
  <FILE src="ba_Synthetic_Funk.swf" desc="Synthetic Funk" artist="Brian Ayers" album="Swish-Tutorials.com" minutes="0" seconds="41"/>
  <FILE src="ba_fourth_date.swf" desc="Fourth Date" artist="Brian Ayers" album="Swish-Tutorials.com" minutes="1" seconds="1"/>
</PLAYLIST>

You will need to edit the "src" information for each FILE and point it to the correct location on your web server.

For example:

<?xml version="1.0" encoding="UTF-8"?>
<PLAYERSETTINGS autostart="no" playall="yes" loop="no" shuffle="no"/>
<PLAYLIST>
  <FILE src="http://www.yoursite.com/ba_Synthetic_Funk.swf" desc="Synthetic Funk" artist="Brian Ayers" album="Swish-Tutorials.com" minutes="0" seconds="41"/>
  <FILE src="http://www.yoursite.com/ba_fourth_date.swf" desc="Fourth Date" artist="Brian Ayers" album="Swish-Tutorials.com" minutes="1" seconds="1"/>
</PLAYLIST>

Save the changes once you have modified the SRC paths.

Step 3: Editing jb-config.txt

In the Jukebox configuration file, you will see information similar to this:

&playlist1_path=playlist.xml&

You will need to edit the path information to point to your website.

For example:

&playlist1_path=http://www.swishzone.com/myspace/playlist.xml&

Save the changes once you have modified the path.

Step 3 - Editing the HTML Code

Open your HTML source file (again, you can use Windows Notepad for this, or any other HTML/WYSIWYG editor). Find the <OBJECT> and <EMBED> tags in the HTML code (the example below was taken from Dreamweaver).

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="170" height="75">
  <param name="movie" value="Player010.swf" />
  <param name="quality" value="high" />
  <embed src="Player010.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="170" height="75"></embed>
</object>

PLEASE NOTE: The FlashVars parameter needs to be added. You can use the example below as a template. It is VERY important that you give the correct name to the variable. The Jukebox player looks for the variable jbConfig

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="170" height="75">
<param name="movie" value="Player010.swf" />
<param name="quality" value="high" />
<embed src="http://www.swishzone.com/myspace/Player010.swf" FlashVars="jbConfig=http://www.yoursite.com/playlist.xml" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="170" height="75"></embed>
</object>

Adding Jukebox to your MySpace Profile

A basic tutorial for adding SWiSHmax movies to your MySpace profile has already been written. You can view it HERE

When you paste your HTML code into MySpace, it should look something like this:

So, now the world can enjoy your music right along with you! You can see a working SWiSH Jukebox sample on myspace.com here

Enjoy!

 

 

 



Search | Privacy policy | Contact us | Site Map | Copyright SWiSHzone.com Pty Ltd 1999-2010