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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -