PDA

View Full Version : imeem.com BBCode


Twilkey
19 Feb 2007, 19:51
My new BBCode came because a friend wanted to be able to post a music player from Imeem.com on his forum without needing html enabled in his threads. So I decided to make it into a BBCode for him.

This isn't as I would like it to be. So Id call this a Beta. Also all the member adds is the end of the url.

Sign in to your AdminCP,
Scroll down to Custom BBCode,
Click ADD BBCode,

Fill in as follows,
Title-Radio
Tag-radio
Replacement-
<object width="auto" height="auto"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars"
value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto"
menu="false" quality="low" bgcolor=""
flashvars="file=http://media.imeem.com/m/{param}&autostart=false"
type="application/x-shockwave-flash" pluginspage=
"http://www.macromedia.com/go/getflashplayer" />
</embed></object>
Example-
Without the space.
[ radio]UM9OM7pqy2[/radio]
Description-Whatever you want
Use {option}-No

Demo (http://www.mark-3halo.com/m3hforum/showthread.php?t=234) in news post.

ZomgStuff
19 Feb 2007, 23:42
Reserved! Nice!

Can we get a demo please?

Twilkey
21 Feb 2007, 07:26
Ok sorry, I forgot the demo. It is up now.

redtaz
23 Feb 2007, 01:00
Can you make this so it can only be used in certain forums?

UgLy-NeRd
26 Feb 2007, 00:14
I like it, but the bad thing is that it allows a user to post any swf they want. It does not restrict it to imeem.com material only.

Twilkey
26 Feb 2007, 04:43
I like it, but the bad thing is that it allows a user to post any swf they want. It does not restrict it to imeem.com material only.

Ok I have edited the code. Now members only use the end of the url.

Pcparts
27 Feb 2007, 21:29
doesnt work for me :(

just shows a blank place.

im on vb3.5.5 still.

Pcparts
05 Mar 2007, 10:43
I upgraded to 3.6.5 last night, still not working for me.

TRĒPSTĒR
05 Mar 2007, 11:27
Very nice bro!

pollon
09 Mar 2007, 11:45
it doesn't work for me.:( i'm on 3.6.5

Pcparts
09 Mar 2007, 20:52
same here :(

i even tried to edit different bits of code. but no luck.

Pcparts
09 Mar 2007, 22:37
Ok I figured it out:

you are missing a closing tag at the end of <embed>



this one works on my site:



<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>

Twilkey
10 Mar 2007, 00:45
Ok I figured it out:

you missing are closing tag at the end of <embed>


Thanks for pointing that out. I edited my code.

pollon
10 Mar 2007, 11:42
Ok I figured it out:

you missing are closing tag at the end of <embed>



this one works on my site:



<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


thanks :)

Tralala
10 Mar 2007, 16:32
Ok I have edited the code. Now members only use the end of the url.

This doesn't work for me. I see I need to paste in the code that's found inside the "Embed in your Blog, Website, etc:" box on imeem.

For example, for this page:
http://profile.imeem.com/yNt-j1/music/VjEmigAM/i_have_a_dream/

I need to go into that "Embed in your Blog, Website, etc:" text box to see:

<object width="300" height="80"><param name="movie" value="http://media.imeem.com/m/UM9OM7pqy2/aus=false/"></param><param name="wmmode" value="transparent"></param><embed src="http://media.imeem.com/m/UM9OM7pqy2/aus=false/" type="application/x-shockwave-flash" width="300" height="80" wmode="transparent"></embed></object>



...and THAT's where I see that the code is "UM9OM7pqy2"

...and paste THAT into my post, inside the [imeem] tags. The "UM9OM7pqy2" isn't anywhere at the "end of the URL." If I try and paste in any part of the URL, like "VjEmigAM" or "VjEmigAM/i_have_a_dream/" it doesn't work. It has to be "UM9OM7pqy2" which is annoying to find for each song. Is there some easier/better way I am missing?

Zolo
14 Mar 2007, 22:49
<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="300" height="80" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


this One is Tested with both IE & FireFox --- width & height were modified
editor icon is attached ...



thank you Twilkey SRT

Twilkey
15 Mar 2007, 04:37
Thank you Zolo

SpreadingLight
04 Feb 2008, 00:00
Funny, I made the same code myself :)

I was trying to make the code easier (thought I am really a noob when it comes to code).



Here's what I have so far:


1. Installed BB Code (modified from youtube BB Code)

<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


2 Copy the embed code from imeem

<object width="300" height="80"><param name="movie" value="http://media.imeem.com/m/m-ogvIOzNz/aus=false/"></param><param name="wmode" value="transparent"></param><embed src="http://media.imeem.com/m/m-ogvIOzNz/aus=false/" type="application/x-shockwave-flash" width="300" height="80" wmode="transparent"></embed></object>


2. Copy the song-ID code

imeem.com/m/m-ogvIOzNz/aus=false/


3. Use the imeem BB Code to tag it

m-ogvIOzNz


4. Remove the underline (otherwise it doesn't work), and Post.



Clearly it's a bit cumbersome for users to copy the Embed code, and selectively highlight and copy the Song-ID code, and then also remove the underlining.


I was wondering if the BB Code, or some other code/product, could take the imeem Embed code, and filter out the Song-ID, and remove the underline. Similar to what http://www.vbulletin.org/forum/showthread.php?t=150761 does.

Any Ideas?


btw, I am happy to contribute back to the community here :D I made a music "button" for the message editor toolbar 20x20 pixels.

WildFire.ca
10 Sep 2008, 02:03
Is there anyway to get the player not to auto start each time the page is loaded