Results 1 to 4 of 4

Thread: mov Save As

  1. #1
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default mov Save As

    There might be a simple answer to this simple question, but I havent found it yet.

    I have a Apple Quick Time mov file and when I link my page to the mov file when clicked the page loads the movie and plays it embedded in the html page. Is there a string of code that will force the mov to prompt for download instead of play directly from the link?

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Yes. The only way to do this is to upload the .mov file onto your website. Then use the window.open() technique. It should allow the user to download the file from your website.

    -magicyte

  3. The Following User Says Thank You to magicyte For This Useful Post:

    nate51 (09-08-2008)

  4. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You can't properly force a browser to make someone download a file. You can suggest that they "right click, save as", though it would be their choice to load in the browser, too. You can try to send a header that will force a download, but this isn't proper code and it might be ignored by some browsers.
    One way, alternatively, to force a download every time is to encase the .mov in a .zip file, which can never open directly in a browser, so they must download then use the .mov out of the browser.
    This has nothing really to do with a .mov specifically, so you can just search for "force download" and you'll find a number of related options/solutions. (It would be basically the same for an image or audio file, for example.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #4
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Yeah. That too.

    -magicyte

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •