Forum Moderators: coopster

Message Too Old, No Replies

HELP! got a problem with streaming & IE I Cant Figure!

Please Help!

         

dying trying

6:46 pm on Nov 6, 2005 (gmt 0)

10+ Year Member



Hello

I am on my last nerve with trying to figure this out!
I have a website that streams music videos and Internet Explorer is showing the direct link to the video! (which I really don't want)

I have all my video data stored in a mySQL Database and I am using a querystring to access it. eg.
www.mysite.com/playvideo.php?ID=057

the problem is when the video plays (using embed code for windows media), Internet Explorer will show the direct url to the movie instead of the php file. eg.
www.mysite.com/videos/somevideo.wmv

It does this even if I play the video in FireFox! Internet Explorer will show the direct video URL but FireFox will show the PHP URL

I've tried using ASX files but I cant seem to get the damned things to work for me, and I don't know how to stream using PHP (I'm a PHP newbie).

Does anyone know why this is happening?!? Or know an easy way I can fix this? or ANY way I can fix this?!?

thanks

Eric

coopster

10:28 pm on Nov 9, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, dying_trying.


and I am using a querystring to access it. eg.
www.mysite.com/playvideo.php?ID=057

I'm a bit confused here, you are already using PHP by the looks of it.

dying trying

3:19 am on Nov 10, 2005 (gmt 0)

10+ Year Member



sorry, let me clarify

I think the direct URL to my video files is caused by the embed code for windows media. I do not want this direct URL to show, I want the PHP URL to show.

I cannot fix this problem. If I use an ASX file it still shows the video URL. I was wondering if anyone would have a solution to my problem or if anyone knows how I would be able to STREAM the video using PHP or ASP.

thank you

jatar_k

3:47 am on Nov 10, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you could store them outside of the root

then on request you could write them to a temp dir and remove them afterwards

then they get a url but never one that is reusable