VideoHelp Forum

+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. 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',
    			),
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Have you checked the phpbb-support-forum for some update?
    Quote Quote  
  3. Originally Posted by Baldrick View Post
    Have you checked the phpbb-support-forum for some update?
    Yep. Was told the original writer of the code has long since abandoned it. So there won't be any updates. Either somebody helps me to fix it myself or I'm just gonna have to forget about it.
    Quote Quote  
  4. Member Emeritus
    Join Date
    May 2014
    Search PM
    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.
    Quote Quote  
  5. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    Have a look at phpbbex universal media code

    Search other places and projects ... you might find gold
    Quote Quote  
  6. Originally Posted by ponens View Post
    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?
    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?
    No, it does.

    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?
    No, you're right. They've transitioned to HTML5.

    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.
    I never said anything about having to use an swf player. You seem to think I understand ANY of the code I posted. I don't. I understand none of it. I know nothing about video embedding/streaming/swf/html5/whatever. I don't understand anything about how any of it works. I was just wondering if somebody could help me to fix that code and get it working.
    Quote Quote  
  7. Originally Posted by Bjs View Post
    Have a look at phpbbex universal media code

    Search other places and projects ... you might find gold
    Thanks. I'm afraid that one you suggested might be too old now though.
    Quote Quote  



Similar Threads