Jump to content

Is this a mod_rewrite deal or something else?


devknob

Recommended Posts

I just started a youtube clone, and all is well, but im trying to allow users to embed without seeing the full path to my flv file or the parameters being passed. I noticed youtube doesnt use the .flv, and thats what makes me think its a mod_rewrite, but i never seen mod_rewrite do something like that. Does anyone have any suggestions?

 

Heres what im aiming for:

 

<object width="432" height="351"><param name="movie" value="http://www.mysite.com/v/ZFMBIGAWa4e5cb83845429"></param><param name="wmode" value="transparent"></param><embed src="http://www.mysite.com/v/ZFMBIGAWa4e5cb83845429" type="application/x-shockwave-flash" wmode="transparent" width="432" height="351"></embed></object>

 

Here is what I have right now:
<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://mysite.com/stream/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://mysite.com/stream/uploads/CN5gnf3nIXaflddSGQwG.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://mysite.com/stream/image_s/playerlogo.png&link=http://wmysite.com/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.streamme.tv/stream/flvplayer.swf"
flashvars="file=http://mysite.com/stream/uploads/CN5gnf3nIXaflddSGQwG.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://mysite.com/stream/image_s/playerlogo.png&link=http://mysite.com/stream&linktarget=_blank&backcolor=0xFFFFFF">
</embed>
</object>

 

As you can see, users will be able to remove my logo and do other things

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.