Recently in the development of a video site, if the Thunderbolt, open video playback also thunder will hijack the video source, and then play download box, resulting in the normal play ~ ~ Very disgusting, very rogue
The simplest solution: the client, turn off the Thunderbolt, or set to cancel listening to the browser, or to cancel listening to all the contents of the domain name
Of course, as a developer, it is certainly not possible for every user to do so, but the experience is poor ~ ~
See if you can start from their own to stop the rogue behavior of Thunder;
How does thunder Monitor to the video and intercept;
Thunder through the monitoring request Header; content-type:application/octet-stream general file download is such a request type; Thunder judgment for file download to intercept;
Therefore, to prevent the interception of thunder, it is necessary to modify content-type;
Compare the following big video sites such as music, found are content-type:video/mp4, so try to modify content-type:video/mp4 ~ ~ found really effective;
Modify the Nginx/conf/mime.types file under Linux to add the following line;
Video/mp4 mp4
Video website block Thunder hijacking download