The code can be used to embed from pretty much everywhere except Metacafe. Apparently, since it was written, Metacafe changed their embedding codes. Now all you get if you use the code I'm having trouble with is a white box.
Here's the code anyway. It's gibberish to me.
Code:'metacafe.com' => array( 'id' => 22, 'image' => 'metacafe.gif', 'example' => 'http://www.metacafe.com/watch/966360/merry_christmas_with_crazy_frog/', 'match' => '#http://www.metacafe.com/watch/([0-9]+)?((/[^/]+)/?)?#si', // 'replace' => '<iframe src="http://www.metacafe.com/embed/$1/" width="{WIDTH}" height="{HEIGHT}" allowFullScreen frameborder=0></iframe>', 'replace' => 'http://www.metacafe.com/fplayer/$1/metacafe.swf', 'method' => 'flash', ),
+ Reply to Thread
Results 1 to 7 of 7
-
-
Have you checked the phpbb-support-forum for some update?
-
-
Can you link to a phpbb forum post where similar code works for a video source other than metacafe?
Metacafe provides embed code, does this not work on phbbb?
The code example you've provided is swf/flash dependent. It seems that metacafe has transitioned to html5 video. Does phbbb not support html5 embed?
Metacafe doesn't seem to have an active video (that I can find) that is using a swf player on the metacafe site. Do you know of one? Or know of any site that currently has a metacafe video embedded using a swf player?
If you must use a swf player to embed video in a forum post on phbbb, you could use a third party swf player because metacafe's html5 video sources have http mp4 sources. -
Have a look at phpbbex universal media code
Search other places and projects ... you might find gold -
Oh yeah, it works fine. I was just hoping instead of creating a separate code just for Metacafe, I could manage to fix this mod.
The code example you've provided is swf/flash dependent. It seems that metacafe has transitioned to html5 video. Does phbbb not support html5 embed?
Metacafe doesn't seem to have an active video (that I can find) that is using a swf player on the metacafe site. Do you know of one? Or know of any site that currently has a metacafe video embedded using a swf player?
If you must use a swf player to embed video in a forum post on phbbb, you could use a third party swf player because metacafe's html5 video sources have http mp4 sources. -
Similar Threads
-
fixing very blended video?
By spiritgumm in forum Video ConversionReplies: 14Last Post: 8th Mar 2014, 09:15 -
Here is a near universal setting for h264 video for the 360, ps3 and wdtv
By yoda313 in forum Off topicReplies: 0Last Post: 8th Feb 2013, 20:34 -
Fixing FLV with corrupted video
By mjolnir870 in forum Newbie / General discussionsReplies: 3Last Post: 28th Sep 2012, 17:12 -
BBCode tags to link to certain pages?
By Ai Haibara in forum FeedbackReplies: 0Last Post: 4th Jun 2011, 16:47 -
Universal Video format for streaming
By musomn in forum Video Streaming DownloadingReplies: 38Last Post: 30th Apr 2011, 03:34