In case you haven’t noticed, online video is a popular feature among websites, retailers and bloggers. The introduction of HTML5 and its embeddable video tags allow for even easier delivery of video for webmasters to visitors. There is one caveat to this great feature, a user’s browser has to be modern enough to handle the advanced HTML5 code.
HTML5Media
HTML5Media is small snippet of javascript code designed to allow for <video> and <audio> to be used in all browsers. The single line of code is placed in the web document. Afterwards, webmasters or whoever adds content to your site can embed video or audio by using the <video> and <audio> tags respectively.
This powerful little javascript snippet is an excellent option for avoiding unsupported codecs or problems caused by older browsers. This form of delivery allows for all your website visitors to see the video and hear the audio you want them to.
There will come a time when all browsers have <video> and <audio> tags standard, but until that time, HTML5Media is a solid choice to ensure functionality for everyone.
The code:
<script src=”http://api.html5media.info/1.1.5/html5media.min.js”></script>
You can view HTML5Media in action and view code samples from their website – HTML5Media
If you enjoyed or found this article useful, please show us some support by liking us on Facebook or by sharing us on your favorite social website. Thanks!