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