XF 1.1 Embeding MetaCafe videos

mrGTB

Well-known member
I've tested this both on my live forum and localhost test bed. I cannot embed MetaCafe videos on either, it says URL not allowed, it won't even let you add the video code.

Yet using the same URL here I can embed them.

Code:
http://www.metacafe.com/watch/6893060/forza_mororsport_4_driving_through_the_alps/

metacafe.webp
 
Yeah, I know and I've not added no extra Video BBCode Media sites since, they are all default ones there. But it doesn't work on both my localhost and live site, no matter which link I use from that video site it always gets rejected as an invalid URL to use. I even came here and tested the same link and it worked fine showing the video?

What I don't get here, why does it not work for me on both localhost and my live site? There's nothing wrong with the URL used if coming here and seeing it works OK.
 
Here is the code I have listed for it.

Code:
#metacafe.com/watch/(?P<id>d+/[a-z0-9_]+)/#siU

Code:
<embed flashVars="playerVars=autoPlay=no"
    src="http://www.metacafe.com/fplayer/{$id}.swf"
    width="500" height="300" wmode="transparent"
    allowFullScreen="true" allowScriptAccess="always"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash">
</embed>
 
Top Bottom