Welcome to WebmasterWorld Guest from 54.158.36.59

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)

WebmasterWorld Senior Member 10+ Year Member



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>
<br><br>

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">
</embed>
</object>

Can anyone see something missing in my code above?

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

WebmasterWorld Senior Member 10+ Year Member



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>
</object>

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)

WebmasterWorld Senior Member 10+ Year Member



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

thanks,

 

Featured Threads

Hot Threads This Week

Hot Threads This Month