HOW TO PLAY VIDEO WITHOUT ANY SOFTWARE


Hie Frnd's :)
Today We Are Going to See How To Play Video's Without Using Any Software , 
Yes It is Possible With The Use of HTML 5 .
As We Know For Executing The HTML File's We Need Only Browser's Which is Inbuilt Feature If Any OS .
in HTML 5 a Video Tag is Introduced Named as <video> .
Using This Tag We Can Play Video's in our Web Browser .
Let'c How It's Work
Step 1 : Make One .html File With AnyName And Write Following Code .

<title>www.securitytweaks.com</title>
<video width="1200" height="650" controls>
  <source src="C:\Users\sAm\Desktop\test.mp4" type="video/mp4">
</video>


Here Your Source May Be Diffrent from me so Change it According to Your VideoFile Path .
We Can also Resize the Video in Browser using <Hieght> & <Width> Tag .
So Save it as anyname.html , mine is test.html
now Execute it .


Here We Can See The Video is Palying in Our Browser Without Using Any Video Palying Software .
It is UseFul When we dont have any VideoPalyer And Want To Play video .

So Currently Video Tag Support MP4 , WebM , Ogg .

  • MP4 = MPEG 4 files with H264 video codec and AAC audio codec
  • WebM = WebM files with VP8 video codec and Vorbis audio codec
  • Ogg = Ogg files with Theora video codec and Vorbis audio codec
And This Tag Mostly Works in All Browser , but GOOGLE CHROME is Best For This . 

2 comments: