Click here to Skip to main content
15,922,015 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have written the following html code to show video
XML
<h4 style="color:#419503;">Visit this fun video</h4>
  <video width="400" controls>
  <source src="video/KateSafari3.mp4" type="video/mp4">
  <source src="mov_bbb.ogg" type="video/ogg">
  Your browser does not support HTML5 video.
</video>


When I run the html page in Crome it shows the video control but video not showing.
Posted

1 solution

As per http://www.encoding.com/html5/[^] I'd say the most obvious issue might be the lack of MP4 video codec on the system where the browser is running, additionally a Vorbis codec will be needed for the ogg file.

There's a similar issue logged on the Chrome Support -> https://productforums.google.com/forum/#!topic/chrome/EdX_Crq5evw[^]

Hope this helps.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900