Minggu, 16 September 2012

WebM :An open media file format designed for the web

Ads: eBay - one of the UK's largest shopping destinations: ebayCell Phone, Accessories | eBay

WebM is a Free, Evolving, Open video Format for use with HTML5 video, compressed with VP8 video codec and Vorbis audio codec.The WebM file structure is based on the Matroska media container.Matroska is usually found as .MKV files (matroska video), .MKA files (matroska audio) and .MKS files (subtitles).

VP8:

VP8 is an open video compression format created by On2 Technologies,on September 13,2008. See more

Vorbis audio codec:

it is a free open source project done by the Xiph.Org Foundation. See more

New in WebM:

  • High quality(HQ)video
  • Amazing video playback performance(on slower computers also)
  • 100% free and open to everyone

From last two or three days YouTube has started providing their file in WebM format as a part of HTML5.
  1. To play WebM file on YouTube Goto:www.youtube.com/html5 and click on "Join the HTML5 trial"

  2. Enter "&webm=1" at the end of URL.

  3. Download WebM supported browser on your computer.WebM supported bowsers are:


  • Mozilla Firefox 4.x and above
  • IE9 and above
  • Google chrome 6 and above
  • Opera 10.6x and above

To play WebM file you only need WebM, supported browser or media player.

VLC,Winamp AND Windows media player 12 are supported media player for WebM.

TO convert any video into WebM format download WebM tools from here


WebM is an open source project.you can develope your own code and publish it.You can also participate in this projrct at: Developer

See Also:

Selasa, 04 September 2012

How to Create Free Webpage Hit Counter using Javascript?

In this post I am gonna show you how to create your own free Webpage hit counter for your website. Many of newbies or website developer use hit counter available on internet provided by some website,But It slows down your page loading. Hit counter created using "localStorage" in javascript is far better than cookies or any ready made counter. Count will increase even if you close browser window and next time you refresh page

Copy the code given below into script tag and refresh the page to count:



if (localStorage.pagecount)
{
localStorage.pagecount=Number(localStorage.pagecount) +1;
}
else
{
localStorage.pagecount=1;
}
document.write("Visits: " + localStorage.pagecount + " time(s).");

If you want to count page view for session of your browsing you can use "sessionStorage". It will increase count until you close your browser.


Copy the code given below into script tag and refresh the page to count:


if (sessionStorage.clickcount)
{
sessionStorage.clickcount=Number(sessionStorage.clickcount)+1;
}
else
{
sessionStorage.clickcount=1;
}
document.write("You have clicked the button " +
sessionStorage.clickcount + " time(s) in this session.");

Was this Information helpful?

Yes No