Downloading videos to device

Posted by robl 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Downloading videos to device
November 22, 2017 03:29AM
Hello. I want to share video files to students, that they can then download to their phones and use for editing exercises. Is this possible? The videos seem to stream, but not download as images do. Many thanks.
Re: Downloading videos to device
November 25, 2017 03:38AM
robl,

Did you try 'right click' - "save target as" on the initial file listing? I think that is how I did it on my laptop.
Re: Downloading videos to device
November 25, 2017 12:20PM
exactly.
You can also remove the mime-type of the video from /opt/piratebox/conf/lighttpd/mime.types , which will trigger the browser to download it.
But is a complete off and on switch.
Re: Downloading videos to device
August 07, 2018 09:06PM
In testing my Pirate Box I just noticed that my video and audio files don't download either. When I click on the menu, the download option appears, but when I click on it nothing happens. It works on a laptop, but not on a phone.
I can't find /opt/piratebox/conf/lighttpd/mime.types or anything about mime types in my installation folders.
Re: Downloading videos to device
August 09, 2018 06:43PM
I am pretty sure there must be the mime.types config, where you need to disable the extension to force the browser to take it as a normal download.
(Remember, mime.types must be edited with vi).
Re: Downloading videos to device
August 09, 2018 08:04PM
I can't seem to add an image. This is what I have. What do I need to change. Thanks.

## MimeType handling
## -------------------
##
## Use the "Content-Type" extended attribute to obtain mime type if
## possible
##
mimetype.use-xattr = "disable"

##
## mimetype mapping
##
mimetype.assign = (
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
- /opt/piratebox/conf/lighttpd/mime.types 1/90 1%
Re: Downloading videos to device
August 22, 2018 06:23PM
Well, you need to scroll down for finding & editing..