I am working with HTML5 video, its working fine locally but as I host the files on to the server its not getting any video file to be access at the browser. That’s why video is not working with HTML5 Video tag.
I see the inspector then I revealed that the file isn’t come to the browser end its showing the error that file is not present on to it.
from the header we can find that the contain type is text/html even I hosted the mp4 file at the server.
I am totally hanged finding the actual issue… Please help.
Sounds like the server doesn’t have the correct MIME types configured for video. If you have access to the
.htaccess
file, you need to add the following lines: