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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.