Current time: 04-24-2014, 10:58 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio MyCode
07-14-2009, 01:42 AM
Post: #1
Audio MyCode
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]

Tom K. in "What are you listening to now?":
(10-29-2012 08:24 AM)Tom K. Wrote:  The fridge - In my kitchen
Visit this user's website Find all posts by this user
Quote this message in a reply
07-14-2009, 10:26 AM
Post: #2
RE: Audio MyCode
perhaps you could some more about it? how it works, what does it displays.
screenshots etc?
Find all posts by this user
Quote this message in a reply
07-23-2009, 10:30 PM
Post: #3
RE: Audio MyCode
This code will display a 1pixelout mp3 player that streams the audio in the mycode.

[Image: logo.png]

Tom K. in "What are you listening to now?":
(10-29-2012 08:24 AM)Tom K. Wrote:  The fridge - In my kitchen
Visit this user's website Find all posts by this user
Quote this message in a reply
07-24-2009, 03:35 PM
Post: #4
RE: Audio MyCode
Doesn't work for me.
Find all posts by this user
Quote this message in a reply
07-24-2009, 07:35 PM (This post was last modified: 07-24-2009 07:36 PM by StingReay.)
Post: #5
RE: Audio MyCode
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]

Tom K. in "What are you listening to now?":
(10-29-2012 08:24 AM)Tom K. Wrote:  The fridge - In my kitchen
Visit this user's website Find all posts by this user
Quote this message in a reply
08-10-2009, 02:08 PM
Post: #6
RE: Audio MyCode
Preview please...
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication