Thursday, 22 December 2016

How to start MongoDB In Windows?

Open CMD as Administer  and Type flowing command....


>Mongod.exe --install --logpath c:\data\logs.log --logappend --bind_ip 127.0.0.1 --dbpath c:\data\db --directoryperdb

after execution type..

>net Start Mongodb

>Mongo.exe


Friday, 2 December 2016

Simple video streaming Example In HTML5

Here we not Use any RTMP protocol in Server side. 
This video Is simply present in server  Side.And Browser is download file as stream and feed to Our video element.  

       <video src="http://youlearners.com/streaming/Avengers2.mp4"
               controls preload="auto" width="640" height="264"
               data-setup='{"controls":true}'>
            <source type='video/mp4' />
     </video>

 <!---here i Use data-setup='{"controls":true}' and preload="auto" for load and play simultaneously---->

OPTPUT