HTML5 video not playing
html
Solution
Add "controls" as a flag. It allows the browser to run it's own player code on the video. I tried this with a .mp4 file on Chrome and it works.
Problem
I tried a simple example for HTML5 but it doesnt seem to work. ``` <!DOCTYPE html> <html> <body> <video width="320" height="240" controls="controls autoplay"> <source src="resources/sample/sample1.mp4" type="video/mp4" /> </video> </body> </html> ``` I tried the example on chrome, the video loads up, but it does not play, i can see the video frames if i move the slider to and fro but the video itself doesnot play. UPDATE: I accessed this on localhost(tomcat), its still reacting in the same way. Also i noticed that i am not able to play any HTML5 videos on chrome or firefox(updated).