[SWFObject] Audio Flash Player

Patricia Davidson pddesigns at gmail.com
Thu Nov 16 20:23:19 PST 2006


Thanks for the help.  I only need one as the flash player is set up in
the programming of Expression Engine.  It has an if statement to use
the player when audio is detected.

I apologize for not responding sooner.  I got tied up yesterday.

Regards!



On 11/15/06, Aran Rhee <aran.rhee at qdc.net.au> wrote:
> Patricia.
>
> You can replace your original code with:
>
> <div id="playerID2_flashcontent" >
>         This is where the alternate content goes if the user doesn't have
> the right version of flash/javascript enabled (replace with whatever you
> want)...
> </div>
>
> <script type="text/javascript">
>         var so = new
> SWFObject("http://goldbeachyouthgroup.com/player/player.swf",
> "audioplayer2", "290", "24", "7");
>         so.addVariable("playerID", "2");
>         so.addVariable("soundFile",
> "http://goldbeachyouthgroup.com/player/092906.mp3");
>         so.addVariable("bg", "0xDDA246");
>         so.addVariable("slider", "0xAF0000");
>         so.addVariable("track", "0xFFFFFF");
>         so.addVariable("border", "0xFFFFFF");
>         so.addVariable("loader", "0x790022");
>         so.addParam("wmode", "transparent");
>         so.addParam("menu", "false");
>         so.write("playerID2_flashcontent");
> </script>
>
>
> *** Since you have more than 1 flash file being inserted on the page, make
> sure you have a unique <DIV> id to write into for each one (in this case I
> am writing into "playerID2_flashcontent", but others may write into
> "playerID3_flashcontent" etc)***
>
> Also, I don't know what version of flash your content is targeting. The code
> above requires the user to have v7 of the flash player. If your orig
> player.swf was authored in v5 or mx (6) you can change the last parameter
> from "7" to "5" or "6".
>
>
> Cheers,
> Aran
>
>
> > -----Original Message-----
> > From: swfobject-bounces at lists.deconcept.com
> > [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of
> > Patricia Davidson
> > Sent: Wednesday, 15 November 2006 7:07 PM
> > To: swfobject at lists.deconcept.com
> > Subject: [SWFObject] Audio Flash Player
> >
> > Hi, I"m having problems getting swfOject to work on a flash
> > audio player I'm using Expression Engine for cms.
> >
> > http://goldbeachyouthgroup.com/index.php/site/teachings  I
> > have the flash player in the page.
> >
> > Here's the code for the player:
> > <object type="application/x-shockwave-flash"
> > data="http://goldbeachyouthgroup.com/player/player.swf"
> > id="audioplayer2" height="24" width="290"><br> <param
> > name="movie" value="http://goldbeachyouthgroup.com/player/player.swf">
> > <param name="FlashVars"
> > value="playerID=2&bg=0xDDA246&slider=0xAF0000&trac
> k=0xFFFFFF&border=0xFFFFFF&loader=0x790022>
> &soundFile=http://goldbeachyouthgroup.com/player/092906.mp3">
> > <param name="quality" value="high">
> > <param name="menu" value="false">
> > <param name="wmode" value="transparent"></object><a id="downloadinfo"
> > href="http://www.goldbeachyouthgroup.com/player/092906.mp3">
> > <span class="audiolk"> download mp3</span></a>
> >
> > Thanks,
> >
> > Patricia Davidson
> > _______________________________________________
> > SWFObject mailing list
> > SWFObject at lists.deconcept.com
> > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>


-- 
Patricia Davidson
PD Designs
http://pddesigns.com
Web Design ~ E-Commerce ~ Hosting



More information about the Swfobject mailing list