Jump to content

Youtube embed


devknob

Recommended Posts

Im assuming this is a mod_rewrite deal. How would I turn this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8"
width="450" height="367"
id="theMediaPlayer">
<param name=movie value="http://www.site.tv/flvplayer.swf">
<param name=quality value="high">
<param name=bgcolor value="#FFFFFF">
<param name=allowFullScreen value="false">
<param name=swLiveConnect value="true">
<param name="FlashVars" value="file=http://www.site.tv/uploads/y32BIUKa4ryQ3NQDRSst.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.site.tv/stream/image_s/playerlogo.png&link=http://www.site.tv/stream&linktarget=_blank&backcolor=0xFFFFFF">
<embed type="application/x-shockwave-flash" 
pluginspage="http://www.macromedia.com/go/getflashplayer" 
width="450" height="367" bgcolor="#FFFFFF" 
name="theMediaPlayer"
src="http://www.site.tv/stream/flvplayer.swf"
flashvars="file=http://www.site.tv/stream/uploads/y32BIUKa4ryQ3NQDRSst.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.site.tv/stream/image_s/playerlogo.png&link=http://www.site.tv/stream&linktarget=_blank&backcolor=0xFFFFFF">
</embed>
</object>

 

into something more like this:

 

<object width="425" height="353"><param name="movie" value="http://www.youtube.com/v/ngRq82c8Baw"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/ngRq82c8Baw" type="application/x-shockwave-flash" wmode="transparent" width="425" height="353"></embed></object>

Link to comment
https://forums.phpfreaks.com/topic/70690-youtube-embed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.