On our teamVideo.html page, we are incorporating the HTML5 video tag to showcase a video file in .mov format that was captured using an iPhone.
<video preload="none">
<source src="video/v1.mov">
</video>
When the teamVideo.html page is accessed directly in a browser (Chrome, IE9), everything functions correctly and the video plays without any issues.
However, once the page is hosted on a SharePoint site, the video stops working. Chrome displays a black video box with no playback, while IE shows an error message similar to an image not being found. Upon inspecting the developer tools, it's evident that the video file is being requested and downloaded with a 200 OK status. Interestingly, if the video URL is opened in a new tab, the video downloads properly.
Although specifying type="video/quicktime" in the video tag, even the local video fails to play.
<video preload="none">
<source src="video/v1.mov" type="video/quicktime">
</video>
Similarly, setting the type as "video/mp4" works for the local file, but fails to play when hosted on the server.
<video preload="none">
<source src="video/v1.mov" type="video/mp4">
</video>
Experimenting with using an .mp4 file instead of a .mov file also doesn't resolve the issue after hosting. It appears that the SharePoint server assigns the MIME type "application/octet-stream" to the .mp4 file, which could potentially be causing problems with the video tag.
If anyone has insights on what might be causing this issue and how it can be resolved, your suggestions would be greatly appreciated.