Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio MyCode
#1
This is a MyCode using the 1pixelout audio player:

The MyCode portion:
Code:
\[mp3\](.*?)\[/mp3\]

The html Portion:
PHP Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="290" height="24" id="swf12400881091">
<
param name="movie" value="url_to_1pixelout" />
<
param name="allowScriptAccess" value="sameDomain" />
<
param name="wmode"             value="transparent" />
<
param name="bgcolor"           value="#FFFFFF" />
<
param name="scale"             value="showall" />
<
param name="quality"           value="autohigh" />
<
param name="align"             value="l" />
<
param name="allowfullscreen"   value="true" />
<
param name="base"              value="base_url" />
<
param name="play"              value="true" />
<
param name="menu"              value="true" />
<
param name="loop"              value="false" />
<
param name="flashvars"  value="autostart=no&amp;loop=no&amp;soundFile=$1" />
<!--[if 
gte IE 7]>-->
<
object type="application/x-shockwave-flash" data="url_to_1pixelout" width="290" height="24">
<
param name="allowScriptAccess" value="sameDomain" />
<
param name="wmode"             value="transparent" />
<
param name="bgcolor"           value="#FFFFFF" />
<
param name="scale"             value="sho
wall" 
/>
<
param name="quality"           value="autohigh" />
<
param name="align"             value="l" />
<
param name="allowfullscreen"   value="true" />
<
param name="base"              value="base_url" />
<
param name="play"              value="true" />
<
param name="menu"              value="true" />
<
param name="loop"              value="false" />
<
param name="flashvars"  value="autostart=no&amp;loop=no&amp;soundFile=$1" />
<!--<![endif]-->
<!--[if 
gte IE 7]>-->
</
object>
<!--<![endif]-->
</
object

there's your MP3/Audio MyCode!
[Image: logo.png]
Reply
#2
perhaps you could some more about it? how it works, what does it displays.
screenshots etc?
Reply
#3
This code will display a 1pixelout mp3 player that streams the audio in the mycode.
[Image: logo.png]
Reply
#4
Doesn't work for me.
Reply
#5
the player has to be hosted somewhere. just host it somewhere and enter that as the embed src/ movie param/ object data values, base urls aren't needed, and the $1 goes in flashvars where soundFile= is.
[Image: logo.png]
Reply
#6
Preview please...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)