PDA

View Full Version : Metacafe embedded video [BB Code]


Rickie3
09-02-2006, 10:00 PM
This was a request,so ive posted so everyone can use
Please note this also works on 3.6
This code allow your members to embed Metacafe Videos ONLY into their posts.

To Install:
1. Go To Admin CP
2. Scroll down the left nav and select Custom BB Codes
3. Add New BB Code
4. Fill in the following:

Title: Metacafe video
Tag: mv
Replacement:
<embed src="http://www.metacafe.com/fplayer/{param}" width="400" height="300" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> Example: 169710/famous_party_trick.swf
Description: Embeds Metacafe Video's
Use {Option}: No
Then click save.

HOW TO USE
go to this site Metacafe Video (http://www.metacafe.com) and find a video you want to post,now below your selected movie you will see this "Embeddable Player"
Now in that string of code which will look like this
<embed src="http://www.metacafe.com/fplayer/224484/spongebong_hemppants.swf" width="400" height="300" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed><br><font size = 1><a href="http://www.metacafe.com/watch/224484/spongebong_hemppants/">Spongebong Hemppants - video powered by Metacafe</a></font> you need to cut and paste this part of the code between the BB tags "224484/spongebong_hemppants.swf"
eg: 224484/spongebong_hemppants.swf
or simply take from the Metacafe url when you find your video this part of the url 224484/spongebong_hemppants and add the .swf to the end so it would look like this between the tags
224484/spongebong_hemppants.swf
DEMO (http://www.sats-general.com/forum/showthread.php?p=14477#post14477)
If you use please click install.
Hope you enjoy

G_Man
10-15-2006, 02:15 PM
Great!! I tried this and messed it up!

However, I took yours and just added .swf right after {param} in the replacement code. Now all you need is the number/name from the MetaCafe code and it works great.

Cheers!! *clicks install*

MAD555
10-16-2006, 07:50 AM
<i>Great.

¿Does it work on 3.5.4?

Thanks in advance.</i>

Rickie3
10-16-2006, 10:30 AM
Great.

?Does it work on 3.5.4?

Thanks in advance.yup sure does

MAD555
10-16-2006, 12:22 PM
<i>Thanks.

I'll try it.</i>

Chicago_VLNU_4s
10-16-2006, 02:41 PM
isn't this the same as the Flash BB code?

fishhub
10-31-2006, 05:21 PM
it works in my ACP test. But does not work in my forum. why is it so? can someone help?

Rickie3
10-31-2006, 08:45 PM
check and make sure you are entering the correct code in between the tags

fishhub
11-01-2006, 03:02 PM
check and make sure you are entering the correct code in between the tags
thanks for the infor. I should hv cut and paste instead of typing the code manually. Makes it prone to mistakes.

fishhub
11-01-2006, 03:03 PM
anyone got a icon for this?:)

Rickie3
11-01-2006, 10:03 PM
anyone got a icon for this?:)here you go

fishhub
11-04-2006, 04:56 PM
here you go
Thanks rickie3, you r the best!:)

Rickie3
11-04-2006, 08:47 PM
thankyou fishhub for your kind comment