To add video player to your site first Add the following code in the <head> section:
In the <head>
<link href="http://vjs.zencdn.net/4.2/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/4.2/video.js"></script>Replace the my_video.mp4 and my_video.webm to your video location.
In the <body>
<video id="my_video_1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="264" poster="my_video_poster.png" data-setup="{}">
<source src="my_video.mp4" type='video/mp4'>
<source src="my_video.webm" type='video/webm'>
</video>
i very like your post,thanks for sharing
ReplyDeletehtml5