What's the big deal?
Simply this...If you don't see any video, you don't have an HTML 5 capable browser!
<video width="320" height="180"controls preload="none" > <source src= "sweeping/sweeping-iPhone.m4v " type="video/mp4" />< !-- WebKit video (Safari / Chrome) --> <source src="sweeping/sweeping-iPhone.ogg " type="video/ogg" /><!-- Firefox / Opera --> </video>That's it! The hard part was converting the mpg4 file to Ogg Theora format for Firefox! You don't need video players, they are built into the browser!
Makes embedding video on a web page real easy!
No comments:
Post a Comment