DecryptLogin
DecryptLogin copied to clipboard
[HTML5] Direct Mp4 Download Links Do Not Load
Direct mp4 links work, but some are direct download links that will not load. Perhaps using a different player?
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).