I want to play .mov video like as this, but video doesn\'t play in any browser.
My new answer is to use ffmpeg to transcode the .mov
like ffmpeg -i sourceFile.mov destinationFile.mp4
. Do same for the webm format.
OLD Answer: Here's what you do:
<video controls>
<source src="somevideo.webm" type="video/webm">
<source src="somevideo.mp4" type="video/mp4">
I'm sorry; your browser doesn't support HTML5 video in WebM with VP8/VP9 or MP4 with H.264.
<!-- You can embed a Flash player here, to play your mp4 video in older browsers -->
</video>
<video>
element with CSS to suit your needs. For example Materializecss has a simple helper class to render the video nicely across device types.