devknob Posted September 26, 2007 Share Posted September 26, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/70792-is-this-a-mod_rewrite-deal-or-something-else/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.