Computing.Net > Forums > Web Development > How to set up progressive downloads

How to set up progressive downloads

Reply to Message Icon

Original Message
Name: dweller
Date: September 6, 2007 at 16:13:03 Pacific
Subject: How to set up progressive downloads
OS: Windows XP
CPU/Ram: Intel/ 1GB Ram
Model/Manufacturer: Dell
Comment:

I have an Apache server set up on my home PC. I have it set up to create webpages for just personal use on my PC. On my webpages I want to embed some videos. The problem is that these videos are large files and for some reason IE and Firefox feel the need to "re-download" the video files before opening them even though they are right in the Apache server. It can take minutes... I need a way to set up progressive downloads so that as soon as the video buffer is full the video will start playing if I can't find a way to just get the videos to start playing from the files on the server or a way to get the files to open with a video player on my PC. Thanks.


Report Offensive Message For Removal


Response Number 1
Name: Laler
Date: September 6, 2007 at 16:49:01 Pacific
Reply: (edit)

That's the streaming I'm talking about, in your previous post :-)

I never tried any streaming, so don't take this too seriously: VLC can be used to stream media files.

Maybe someone with experience can explain better :-)


---
Fubar


Report Offensive Follow Up For Removal

Response Number 2
Name: Michael J (by mjdamato)
Date: September 7, 2007 at 00:11:46 Pacific
Reply: (edit)

Have you tried making the links to the videos relative to the browser instead of the web server.

For example, if your web root is C:\wamp\htdocs\ and your video files were located in c:\wamp\htdocs\videos\, you would normally create links to the files like this: "videos\filename.mpg". But since that is relative to the web server, the browser doesn't know they are avaiable locally. Try giving links to the files like this "C:\wamp\htdocs\videos\filename.mpg".

Michael J


Report Offensive Follow Up For Removal

Response Number 3
Name: Laler
Date: September 7, 2007 at 00:44:39 Pacific
Reply: (edit)

Good thinking :D

I tried:

file:///E:/Media/a%20video%20file.mpg

and it opens without wait.

except in firefox it's still asking for "open" or "save".


---
Fubar


Report Offensive Follow Up For Removal

Response Number 4
Name: Michael J (by mjdamato)
Date: September 7, 2007 at 14:38:05 Pacific
Reply: (edit)

Thanks for validating that Laler, I was way too tired last night to try.

Michael J


Report Offensive Follow Up For Removal

Response Number 5
Name: dweller
Date: September 12, 2007 at 17:04:14 Pacific
Reply: (edit)

Hmm. I gave that a shot and it didn't work. I used "file:///C:/wamp/www/bsg/Battlestar%20Galactica%20-%20309%20-%20Unfinished%20Business.avi" and when I click the link nothing happens. If I try to right-click the link and select "Save Link As..." I get an error that says "The system cannot find the file specified." If I remove "file:///C:/wamp/www" then it downloads the file before opening. Any thoughts as to why mine wouldn't work but Laler could despite the fact that our syntax appears the same? Would there be some kind of setting I need to set in my httpd.conf file?



Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: How to set up progressive downloads

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge