[resolved] How Do I Save and not Play a Video File. (4 posts)

  1. TommySG
    Posted 11 months ago #

    I've placed some video files on my host's Cpanel and I've created the link on a WordPress page. When I click the link I get the video playing, but I'm wanting visitor's to be able to download the file.

    I can't use the WordPress Uploader as the maximum upload size is only 1mb. My video files are quite large so I've used an FTP to upload them to site in a separate folder. The link as said, directs to the file but plays it, there's no option for a visitor to save. I've tried Firefox and Chrome, both the same.

    What am I doing wrong?

  2. Whether the file is downloaded or played is entirely up to how the viewer's browser is configured. Most will play the file, but some may be configured to download. Regardless, anyone can right-click the link to save/download the video.

    As for that upload limit, the maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.

    3. If neither of these work, it's time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won't accommodate you, perhaps it's time to find a new hosting provider.

    (in the above examples, the limit is set to 100MB)

  3. TommySG
    Posted 11 months ago #

    I thank you for your reply. Yeh right clicking the link does it. What got me was 'save link as' when you right click, I found that misleading, but it works.
    I'll need to work on what you're saying about the upload stuff. Thankyou very much for your reply it's sincerely appreciated.

  4. You're welcome!


You must log in to post.

About this Topic


No tags yet.