Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  
Using without Director

Loading background audio

This walkthrough will show how to load an MP3 file to use as the background audio for any album in your slideshow. For more information on acceptable audio formats, see Slideshow content. For information on how audio is presented and controlled by the viewer, see Media player.

Before we begin...

The instructions here extend the instructions for creating slideshow images, so if you haven't already built a slideshow that loads slideshow content you should do that first before proceeding.

Step one: Create an directory

Create a new folder on your desktop named "mp3".

Step two: Add MP3 file

Copy the mp3 file you want to playback when your album of slideshow content loads to the "mp3" folder you just created.

Step three: Upload mp3 folder

Connect to your web site via FTP and navigate to the "album1" folder. Upload your "mp3" folder to it.

Step four: Edit XML

Download the "images.xml" file from "http://yoursite.com/slideshow/" or remotely edit it through your FTP client. Inside the album element, add a audio attribute that points to where the mp3 file is we uploaded. For example:

<?xml version="1.0" encoding="UTF-8"?>
<gallery>
   <album lgpath="http://yoursite.com/slideshow/gallery/album1/lg/" audio="http://yoursite.com/slideshow/gallery/album1/mp3/audio.mp3">
      <img src="image1.jpg" />
   </album>
</gallery>

When finished, save the XML file. Remember to upload it to your site if editing locally.

Step five (optional): Add audio caption

The SlideShowPro player will read the id3 metadata in your MP3 file and use it as the the audio title in the Media player. If you don't want that, you can override the id3 data through the XML file. To do so, add an audioCaption attribute, like so:

<?xml version="1.0" encoding="UTF-8"?>
<gallery>
   <album lgpath="http://yoursite.com/slideshow/gallery/album1/lg/" 
      audio="http://yoursite.com/slideshow/gallery/album1/mp3/audio.mp3"
      audioCaption="My audio caption">
      <img src="image1.jpg" />
   </album>
</gallery>
Note: Flash Player 7 and later support ID3 1.0, ID3 1.1, ID3 2.3 and ID3 2.4. If no metadata appears, you can convert your MP3 file's ID3 tags to a supported version in iTunes by right-clicking on an MP3, selecting "Convert ID3 tags...", and choosing one of the aforementioned versions.

Step six: Publish or load

Publish a new slideshow or refresh your web browser. You should now hear audio when the album loads.

Page last modified by tdominey on August 19, 2010, at 11:47 AM
© 2011 SlideShowPro. All Rights Reserved.