Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTML5] Direct Mp4 Download Links Do Not Load #106

Open
kyle8998 opened this issue Dec 22, 2018 · 1 comment
Open

[HTML5] Direct Mp4 Download Links Do Not Load #106

kyle8998 opened this issue Dec 22, 2018 · 1 comment
Assignees
Labels
Projects
Milestone

Comments

@kyle8998
Copy link
Owner

Direct mp4 links work, but some are direct download links that will not load. Perhaps using a different player?

@kyle8998 kyle8998 added the bug label Dec 22, 2018
@kyle8998 kyle8998 added this to the 2.0 milestone Dec 22, 2018
@kyle8998 kyle8998 self-assigned this Dec 22, 2018
@kyle8998 kyle8998 added this to To do in 2.0 Feb 25, 2019
@Joshfindit
Copy link

Besides some links that may actually be loading an HTML wrapper (dropbox does this), it's likely just a matter of headers.

For downloading:

Content-Type: video/mp4
Content-Disposition: attachment; filename="filename.mp4"

For viewing:

Content-Type: video/mp4
Content-Disposition: inline; filename="filename.mp4"

For some applications it may be possible to intercept an attachment header and modify it so that it plays inline instead, but this is getting more and more difficult as browsers work to support the servers' wishes instead (see CORS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
2.0
  
To do
Development

No branches or pull requests

2 participants