It started as an attempt to output video from my computer to a TV (with subtitles), eventually using Chromecast. And I found myself in this situation "does not play mp4". However, I seemed to prove that Chrome will play (exactly the same) mp4 if it is not wrapped in html (5) So this is what I created. I created a web page under the local host, and there is default.htm that contains: -
<!DOCTYPE html> <html> <head> </head> <body> <video controls > <source src="sample.mp4" type="video/mp4"> <track kind="subtitles" src="sample.vtt" label="gcsubs" srclang="eng"> </video> </body> </html>
video and subtitle files are stored in the same folder as default.htm
I have the latest version of Chrome (just updated this morning)
When I type in the corresponding local host ... a black square appears in my Chrome browser with the βGOβ arrow and a timeline, mute button and icon that means βCCβ. If I press the left arrow, nothing happens (it does not change to βpauseβ, the elapsed time does not move, and the timer sets to 0:00. There are no error messages - nothing!
(note that if I find localhost .. in IE11, then the video plays !!!!
In Chrome, if I enter the drive address sample.mp4 (i.e. C: \ webstore \ sample.mp4, then Chrome will play the video in format .
This last bit is probably a working solution for Chromecast, except that I donβt see any subtitles. I really want a solution with working subtitles. I just donβt understand what is different in Chrome between the two ways of playing mp4
Topsie
source share