New issue
Advanced search Search tips

Issue 712108 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

We need MediaControls::onDownload

Reported by tgfjt.m...@gmail.com, Apr 17 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. Show download media controls in video element.
2. Click download button.
3. There is no way to handle the download.

What is the expected behavior?
like this below:

```
video.ondownload = function() {
    alert("The video has downloaded");
};
```

What went wrong?
That's nothing

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2987.133  Channel: stable
OS Version: OS X 10.12.4
Flash Version:
 
Labels: Needs-Triage-M57
What's the use case for such an event with native controls?
I think that users want to set up the conversion tracking.
Labels: -Pri-2 -OS-Mac -Needs-Triage-M57 OS-All Pri-3
Status: Untriaged (was: Unconfirmed)
We've never got that kind of feedback. Is it something you are personally interested to use or more a theoretical concern?

Note that adding such an event to the spec would be hard because we would have to standardise it and this is really part of the media controls, not the media element.

Also, I'm not sure what event should be fired. If an event when the download is successful has to be fired, one might ask for one when it failed and maybe some other events. It might become complex enough that websites might as well implement it themselves.
Indeed. That's right. I must be just interested personally.:)
I agree that we should standardise.

Thinking about the use case,
I would count how many clicked the download button(or downloaded) on Video element.

Is this an issue which has better be on whatwg/html??
Yes, I think that filing the issue in the whatwg/html githum repository would be better.
Status: Archived (was: Untriaged)
I'm going to archive this until we have feedback from a spec discussion. Unless there is interest from the community, I don't see us working on this feature.

Sign in to add a comment