After reading some tutorials it looks like this is how to embed a video with html5:

<html>

<body>

<video width="560" height="340" controls>
<source src="big_buck_bunny.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
</video>

</body>

</html>

(That video is in the same directory has the .html file)

When I do this, I see the control bar, but the video doesn't seem to load/play. Anyone know what could be wrong?

Thanks,

David

Recommended Answers

All 2 Replies

Browser support for html5 is limited and the implementation of those features that are supported in those browsers that partially support html5 are generally buggy, opera appears to be acing the implemntation race,

http://html5test.com/ test your browser

Refer to w3schools to get the exact information.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.