homepage Welcome to WebmasterWorld Guest from 54.145.183.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

    
Audio Player Not Loading
on all but first swf file
Lorel

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3652124 posted 8:17 pm on May 16, 2008 (gmt 0)

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?

 

limbo

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3652124 posted 9:12 am on May 21, 2008 (gmt 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>
</object>

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

Lorel

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3652124 posted 3:00 pm on May 21, 2008 (gmt 0)

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

thanks,

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved