Simply add above code into your web page and enjoy...<head> <link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/c/video.js"></script> </head> <body> <video id="video1" class="video-js vjs-default-skin" width="640" height="480" data-setup='{"controls" : true, "autoplay" : true, "preload" : "auto"}'> <source src="video1.flv" type="video/x-flv"> </video> </body>
Simply set src="video1.flv" with your file destination and your video will started work on your webpage. If you face any problem you can ask feel free.
Post a Comment