PDA

View Full Version : imeem.com BBCode


Twilkey
02-18-2007, 10:00 PM
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
02-19-2007, 10:42 PM
Reserved! Nice!

Can we get a demo please?

Twilkey
02-21-2007, 06:26 AM
Ok sorry, I forgot the demo. It is up now.

redtaz
02-23-2007, 12:00 AM
Can you make this so it can only be used in certain forums?

UgLy-NeRd
02-25-2007, 11:14 PM
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
02-26-2007, 03:43 AM
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
02-27-2007, 08:29 PM
doesnt work for me :(

just shows a blank place.

im on vb3.5.5 still.

Pcparts
03-05-2007, 09:43 AM
I upgraded to 3.6.5 last night, still not working for me.

TR?PST?R
03-05-2007, 10:27 AM
Very nice bro!

pollon
03-09-2007, 10:45 AM
it doesn't work for me.:( i'm on 3.6.5

Pcparts
03-09-2007, 07:52 PM
same here :(

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

Pcparts
03-09-2007, 09:37 PM
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
03-09-2007, 11:45 PM
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
03-10-2007, 10:42 AM
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
03-10-2007, 03:32 PM
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
03-14-2007, 09:49 PM
<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
03-15-2007, 03:37 AM
Thank you Zolo

SpreadingLight
02-03-2008, 11:00 PM
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 https://vborg.vbsupport.ru/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
09-10-2008, 01:03 AM
Is there anyway to get the player not to auto start each time the page is loaded