Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Audio Player Not Loading

on all but first swf file

8:17 pm on May 16, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 4, 2002
posts: 1803
votes: 3

I have several audio files that were converted from MP3 to swf so they would load in any modern browser.

They load just fine and work fine (set to load automatically) however the little graphic I have set for the player (start and stop buttons) only shows up on the first one. On the others there is a black box where the player should be loading.

I had selected the player called "minimum" when converting the files so I have assumed I don't need to set this up in the code.

This occurs on all major browsers on the Mac and Win XP IE 6 so I don't think it's a browser problem but a problem with my set up.

Here is the code on the main audio page (a small pop up window so each file opens in a small window and plays automatically)

<a href="http://www.example.com/audio/FILENAME.html" onclick="NewWindow(this.href,'data','400','200','yes','center');return false" onfocus="this.blur()">FILENAME</a>

Here is the code for the swf file:

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

Can anyone see something missing in my code above?

9:12 am on May 21, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 4, 2002
votes: 0

The embed code looks OK, I tend to use the flash satay method for embedding the movie - not that it will necessarily help but it's nice and simple and is designed to ensure IE streams perfectly.

<object type="application/x-shockwave-flash" data="c.swf? path=myContent.swf" width="300" height="120">
<param name="movie" value="c.swf?path= myContent.swf" />
<p>Alternative content for users without flash...</p>

It could be the way the .swf is actually playing the audio rather than the code to display it?

3:00 pm on May 21, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 4, 2002
votes: 3

I figured out the problem was with the program, not my code.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members