Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > JavaScript and CSS

JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-31-2007, 06:49 AM
icode icode is offline
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
icode is on a distinguished road
Default Download link for mp4 and other files

I recently did a page with a download link to an mp4 file however when you click on the link to download the file it start to download in the same browser window I changed the target link to open in new windows but all that does is make the short movie clip load in the other window is there a script I can use to make the file download when the link is clicked on instead of starting to open in new browser window. Right now the work around this is to right click on the link and then select "save target as" which is a bit less straight forward so I perfer if you could simply click the download link and the short movie clip is downloaded onto the visitors pc.
Any ideas on how I can get this done?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 12-31-2007, 08:35 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,351
Rep Power: 67
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

mp4 files usually don't play.. I think you have a program that plays them.. that's why. But by default .mp4 files will popup like the save target as.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-31-2007, 10:18 AM
icode icode is offline
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
icode is on a distinguished road
Default

Quote:
Originally Posted by TheComputerMaster View Post
mp4 files usually don't play.. I think you have a program that plays them.. that's why. But by default .mp4 files will popup like the save target as.
This is not ture if you have Apple Quicktime installed on your pc mp4 will play in a webpage
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-31-2007, 10:35 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,351
Rep Power: 67
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

Lol.. what did I tell you?

Quote:
mp4 files usually don't play.. I think you have a program that plays them.. that's why. But by default .mp4 files will popup like the save target as.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 09:26 AM.

Contest Stats

GoogleKeyw ........ 20.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads