How to make MP4 play directly in the browser? #6657
Replies: 4 comments
-
I believe that many people will need a knowledge base to manage some video materials. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nginx play MP4 in browsers fine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You need to disable "Force Download of Unsafe Extensions" under Admin > Security. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks,this is exactly what i need. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to make MP4 play directly in the browser?
I am continuing to import some of my knowledge base information, through git, html files, it is really convenient, and I have also imported some pictures in gif format, using the following example:
<a href="001.gif" target="_blank">001GIF</a>
The effect is very good, a new window will appear after clicking, and the GIF animation will be played.
When I added the MP4 format, there was a problem. The file in the mp4 format became a download and could not be played, even if I canceled the setting of the new window.
Because I uploaded html with git, I tested it locally, and the browser click can play directly, which proves that the browser settings are correct.
Maybe there is a bug, insert media, I don’t know what it supports, directly fill in the relative path of the mp4 file, fill in the address that can be downloaded, and the address that other servers can play directly, all prompt me this meida URL is not supported.
Of course, I deployed it using docker. Is it a problem with the WEB server in docker?
Beta Was this translation helpful? Give feedback.
All reactions