New issue
Advanced search Search tips

Issue 758757 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

<source> element always names file with `download`

Reported by michael....@gmail.com, Aug 24 2017

Issue description

UserAgent: 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:
 
Labels: Needs-Triage-M60
Status: WontFix (was: Unconfirmed)
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
@beccahughes@chromium.org thanks but i do not full understand what you mean by that. can you show me an example?
and it is nowhere documented about that
ps: would be nice if the name can be defined in a html attribute instead

Sign in to add a comment