<source> element always names file with `download`
Reported by
michael....@gmail.com,
Aug 24 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 Steps to reproduce the problem: 1. Go to www.videomail.io, record and send a video 2. When viewing the video on the view page with the native HTML video player, click on the download button 3. Chrome downloads it and saves it under the name `download` without extension. What is the expected behavior? It shouldn't name it as `download` but something better. Probably by respecting the strings in src, the type or by another undocumented HTML attribute. I really would like to be able to name the video sources separately like `myname.mp4` and `myname.webm` but not have it always `download` What went wrong? The <source> tag for listing videos under <video> always names the videos as `download` when you click on the download button. Did this work before? N/A Does this work in other browsers? No I guess it's a problem with the HTML specification or is an undocumented feature. It is reproducible on all major browsers Chrome version: 60.0.3112.101 Channel: n/a OS Version: OS X 10.12.6 Flash Version:
,
Aug 25 2017
Chrome should respect the "Content-Disposition" HTTP header and use the filename from there. This is the standard way to do it, but it requires the site to adopt the header. https://tools.ietf.org/html/rfc6266#page-5
,
Aug 27 2017
@beccahughes@chromium.org thanks but i do not full understand what you mean by that. can you show me an example?
,
Aug 27 2017
and it is nowhere documented about that
,
Aug 27 2017
ps: would be nice if the name can be defined in a html attribute instead |
||
►
Sign in to add a comment |
||
Comment 1 by manoranj...@chromium.org
, Aug 25 2017