Why HTML5 video does not work on google chrome? -
my code:
<video width="600" height="400" controls="controls"> <source src="uploads/video/patientenhandset_uk_high.mp4" type="video/mp4" /> <source src="uploads/video/patientenhandset_uk_high.ogg" type="video/ogg" /> browser not supported video. </video>
this code ie10, ie9, firefox , opera works. why not work in chrome?
i believe chrome uses webm format (video/webm
), you'll need offer <source>
alternative.
Comments
Post a Comment