>- see footer for list info -<
This is probably irrelevant, but the #GetSound.SoundPath# probably needs to be 
url-encoded, as it seems to contain spaces, which may cause problems.

Duncan Cumming
New Media Developer
Customer Relations Management / Education
Fife Council
08451 55 55 55, extension 44 44 65

My number changed on 23rd July to 08451 55 55 55, extension 44 44 65
Many other council numbers changed on that date - please go to 
www.fifedirect.org.uk and click on the 'Big Number Change' link for details.

>>> [EMAIL PROTECTED] 05/09/2007 11:41:29 >>>
>- see footer for list info -<
Hello again ...

Does anyone have any experience with the wordpress plugin and the MP3 player 
from 1pixelout?
I can't get it to work with firefox or safari. The FLV player seems to work 
just fine ..

Have a look here www.gunnrunner.co.uk 

Ignore the text overlap on the home page if your using firefox (fixed now 
just haven't uploaded the correction yet). If you look in the media area 
you'll see what im on about the audio player doesn't seem to load.


<!--- SOUND --->
                        <cfif isdefined('url.SoundID')>
                                <cfquery name="GetSound" 
datasource="GunnRunner">
                                        SELECT tblSound.SoundID,
                                                tblSound.SoundTitle,
                                                tblSound.SoundPath
                                        FROM tblSound
                                        WHERE (SoundID=#URL.SoundID#)
                                </cfquery>
                                <!--- Show the mp3 player (Provided by 
1pixelout.net)--->
                                <div id="newstext">
                                <p>
                                Click on the play button below to hear
                                <cfoutput>#GetSound.SoundTitle#</cfoutput>
                                </p>
                                </div>
                                <div id="MP3_Player">
                                <script language="JavaScript" 
src="players/audio-player.js"></script>
                                <object type="application/x-shockwave-flash"
                                        data="audio/player.swf"
                                        id="audioplayer1"
                                        height="24"
                                        width="290">
                                        <param name="movie"
                                                value="players/player.swf">
                                        <param name="FlashVars"
                                                
value="playerID=1&amp;soundFile=sound/<cfoutput>#GetSound.SoundPath#</cfoutput>">
                                        <param name="quality" value="high">
                                        <param name="menu" value="false">
                                        <param name="wmode" value="transparent">
                                </object>
                                </div>
                        </cfif>

                        <!--- VIDEO --->
                        <cfif isdefined('url.VideoID')>
                                <cfquery name="GetVideo" 
datasource="GunnRunner">
                                        SELECT tblVideo.VideoID,
                                                tblVideo.VideoTitle,
                                                tblVideo.VideoPath
                                        FROM tblVideo
                                        WHERE (VideoID=#URL.VideoID#)
                                </cfquery>
                                <!--- Show the Video player --->
                                <div id="newstext">
                                <p>
                                Click on the play button below to see
                                <cfoutput>#GetVideo.VideoTitle#</cfoutput>
                                </p>
                                </div>

                                <script type="text/javascript" 
src="swfobject.js" />
                                        <div id="player">This text will be 
replaced</div>
                                        <script type="text/javascript">
                                        var so = new 
SWFObject('flvplayer.swf','mpl','350','300','7');
                                        so.addParam('allowfullscreen','true');
                                        so.addParam('allowscriptaccess','true');
                                        so.addVariable('displayheight','250');
                                        
so.addVariable('file','../video/<cfoutput>#GetVideo.VideoPath#</cfoutput>');
                                        so.addVariable('height','250');
                                        so.addVariable('width','350');
                                        so.write('player');
                                </script>

                                <div id="Flash_Player">
                                        <embed src="players/flvplayer.swf" 
width="350" height="250" 
allowfullscreen="true" allowscriptaccess="always" 
flashvars="&displayheight=250&file=../video/<cfoutput>#GetVideo.VideoPath#</cfoutput>&height=250&width=350"
 
/>
                                </div>
                        </cfif>
                </div>




Thanks Paul


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo 

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed and 
should not be disclosed to any other party. 
If you have received this email in error please notify your system manager and 
the sender of this message.

This email message has been swept for the presence of computer viruses but no 
guarantee is given that this e-mail message and any attachments are free from 
viruses.

Fife Council reserves the right to monitor the content of all incoming and 
outgoing email.

Fife Council
Tel: 08451 55 00 00
************************************************

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to