This BLOG is not managed anymore.

WebM :An open media file format designed for the web

Ads: eBay - one of the UK's largest shopping destinations: ebay Cell 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:

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


How to get free CU.CC Domain URL for 2 years.

You might be tired of your free hosting Domain URL.In this post I am gonna show you how to get free cu.cc (E.g. xxxxx.cu.cc)domain for your site.Yester day i came across the site which provide free domain name(s) for 2 years for free.So I tried to register my blog there and it's very easy.Here is the step to get free domain name

Step-1:

First of all check availability of Domain Name(Enter name of domain in text box below):


OR

Click here to Check for availability.

Step-2:

If you find it available, Select "register 1 year "or "register 2 year" and Click on "Ckeckout".See Below:

Step-3:

Sign up for new account.And then Sign in to your account.Now you have to redirect this URL to your free hosting site URL(E.g. xxxxx.yyyyy.com).For this Click on "My Domains".You will see your domain URL there(E.g. xxxxx.cu.cc).

Step-4:

Click on Pencil tools immeadiately after URL.

Step-5:

Click on "URL Forwarding".Now fill details.Then Click on "Setup URL forwarding".

Step-6:

Now you just type your new URL into Address Bar of your browser. You will see your website there. That's it!

You can see this blog at:

Bytesinfo.cu.cc


Was this Information helpful?

Yes No

See Also:


Easy way to earn money online with advertisements

Ads:

Best selling and shopping at: ebay


Hello there,

In this post i'm gonna giving you information about site which gives you ads to display on your site if you are continuously disapproved by Google Adsense.

I apply many time for Google AdSense but disapproved every time.Suddenly i come come across some site which are alternatives to Google AdSense.

The first one is VigLink. This site provide you in text link for your contents.it will detect some specific product name and will put link to that site.when user click on that link your link count will increase. Click here to register with VigLink

The second is clicksor .This site provides text link with graphic link also. it will also show pop-up on your site and you will get money for every click and referral.Payment will be done using paypal or check. Click Here to register with clicksor

The next is CBPROADS it will provide you a direct link of ads with various types of ads(e.g ontextual ads,widget ads for mobile ,block image ads etc.).Click here to register with CBPROADS

The next is adpruddence it will provide you a direct CODE of ads with various types and size of ad blocks.Click here to register with adprudence

The next is infolinks.This site is good if your site have enough textual content on it.it will provide in text link for your page.

The next is eDomz.you just need to register your site here.they will verify your site and reply you.need minimum 25$ to withdraw money.Click Here to register for eDomz

Some more are also avalable:

www.affinity.com/
www.infolinks.com/join-us
www.luminate.com/
www.hubpages.com/
www.tagvillage.com
www.breezeads.com/
Protected by Copyscape DMCA Copyright Detector

See Also:


Example of polymorphism in java with abstract class

Ads:

Best selling and shopping at: ebay

free Download unlimited wallpaper at: Photoshare.byethost3.com


Program definition:

Write a program to create abstract class shape having instance variables dim1(dimension) in double and color and two member methods: 1.void display():displays the color of the specific shape. 2.abstract void area(): gives the area for given shape.

Note:

A method for which you want to ensure that it must be overridden(In following example area()),you can define such method as abstract methodand class that contains one or more abstract method must be abstract class.Just put keyword abstract to define it as abstract class

abstract class shape
{
 private double dim1;
 String color;
 shape(double d1,String c)
 {
  dim1=d1;color=c;
 }
 void display()
 {
  System.out.println("Color :"+color);
 }
 abstract void area();
 public double getdim1(){return(dim1);}
}
class triangle extends shape
{
 private double dim2;//dim1=base,dim2-altitude
 triangle(double d1,double d2,String c)
 {
  super(d1,c);
  dim2=d2;
 }
 void area()
 {
  double d1=getdim1();
  double a;
  a =d1*dim2/2;
  System.out.println("Area :"+a);
 }
}
class square extends shape
{
 
 square(double d1,String c)
 {
  super(d1,c);
 }
 void area()
 {
  double d1=getdim1();
  double a=d1*d1;
  System.out.println("Area :"+a);
 }
}
class rectangle extends shape
{
 private double dim2;//dim1=width,dim2=breath
 rectangle(double d1,double d2,String c)
 {
  super(d1,c);
  dim2=d2;
 }
 void area()
 {
  double d1=getdim1();
  double a= d1*dim2;
  System.out.println("Area :"+a);
 }
}
class circle extends shape
{
 
 circle(double d1,String c)
 {
  super(d1,c);
 }
 void area()
 {
  double d1=getdim1();
  double pi=3.1416;
  double a= 2*pi*d1;
  System.out.println("Area :"+a);

 }
}
class a9
{
 public static void main(String args[])
 {
  triangle t = new triangle(2,4,"red");
  t.display();
  t.area();
  square s = new square(4,"green");
  s.display();
  s.area();
  rectangle r = new rectangle(4,8,"yellow");
  r.display();
  r.area();
  circle c = new circle(6,"orange");
  c.display();
  c.area();
 }
}

For more Assignment problems Click Here


See Also:

Quick Sort Algorithm in C


Quick Sort algorithm is algo. for sorting given no of data with complexity 'in order of' n2[O(n2)].Here is the complete program Implemented in C language for Microsoft Windows OS.



#include
#include
void sort(int [],int,int);  //prototype of sort()
void partarray(int [],int,int,int *);  // prototype of partition()
void main()
{
 int i,j,a[8]={13,24,324,41,55,46,37,38};   
 clrscr();
 sort(a,0,7);// call to sort function
                   //0 points to lower bound
    // 7 points to upper bound
 for(i=0;i<8;i++)
  printf("%d\n",a[i]);  //printing sorted array
 getch();
}
void sort(int a[],int lb,int ub)
{
 int j;
 if(lb >=ub)      // condition for recursion breaking 
  return;
 partarray(a,lb,ub,&j);
 sort(a,lb,j-1);         //recursive call to sort() function
 sort(a,j+1,ub);
}
void partarray(int a[],int lb,int ub,int *j)
{
 int b,down,up,t; //if you see,left most end is 
                         // pointed by up pointer and
                         // vice versa
 b=a[lb];
 down=ub;
 up=lb;
 while(down > up)
 {
  while(a[up] <= b && up < ub)
   up++;    //updating up pointer
  while(a[down] > b && down >= lb)
   down--;  //uadating down pointer
  if(down > up)
  {
   t=a[down];
   a[down]=a[up];
   a[up]=t;
  }

 }
 a[lb]=a[down];
 a[down]=b;
 *j=down;
}
Protected by Copyscape Web Plagiarism Detector

You can also analyze the time taken by sort() function in Linux OS using 'gettimeofday()' function.


Ads: ebay :ebay UK Best selling and shopping at:ebay ebay.co.uk

See Also:

Two New Data types in ANSI C++

The ISO/ANSI C++ adds two new Data types in C++.(1) bool ,(2) Wchar.

1. BOOL
                the dat type BOOL stands for boolean(true or false).the value true and false has been added to keyword set of  C++.It can be declared as follows:
bool b1;     // on different line
b1 = true;

OR

bool b2 = true;          //on same line

default numeric value of  TRUE  is '1' and FALSE is '0'.
for example:
 cout < < "b1=" < < b1; 
will display:1.
we can also use TRUE and FALSE as value. for example
 int x = true + true ;
Will assign 2 to the variable X


2.WCHAR

WCHAR stands for wide character.It is used to represent 16-bit character,such as some japanese.you can declare wchare as follows
 wchar_t wh[]=L"hello"
cout < < wh ;
will output hexa decimal code for it. to print string on screen type
wcout < < wh; 
Protected by Copyscape Web Plagiarism Detector

See Also:

Xbox , minesweeper game , mozilla Firefox , gift , Christmas, fashion world