- Desde
- 14 Jul 2009
- Mensajes
- 81
Hola amigos, me preguntaba como hacer para poder agregar videos de otros servidores como Megavideo, Vimeo etc, muchas Gracias de antemano
ayudaaaaaaaaaaaaaaaaa
ayudaaaaaaaaaaaaaaaaa
if(eregi("megavideo.com", $link3))
{
$muster= '#'.$urlex[0].'([http://]*[a-z]*?[\.]?megavideo\.com/?v=([\w]+) '.$urlex[1].'#';
$resultat= preg_match($muster, $link1,$matches);
$link1 = '<object width="425" height="350">
<param name="movie" value="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.6085990840.0'.$matches[2].'"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.6085990840.0'.$matches[2].'" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>';
$site=5;
}
<object width="425" height="350">
<param name="movie" value="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.6085990840.0"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.6085990840.0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
<object width="425" height="350">
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id={param}&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" />
<embed src="http://www.vimeo.com/moogaloop.swf?clip_id={param}&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="425" height="350">
</embed>
</object>