videojs-youtube-swf
v1.2.0
Published
Youtube tech for video.js that communicate with swf directly
Downloads
38
Readme
Youtube tech for video.js that communicates with swf directly
videojs-youtube-swf communicates with swf directly rather than using iframe. It has less delay and performs well. It is used at our website viki.com.
Install
You can use bower
bower install videojs-youtube-swfAnd also npm
npm install videojs-youtube-swfUsage
Load video.js, video-js.css and videojs-youtube-swf.min.js
<head>
<link rel="stylesheet" href="video-js.css">
<script src="video.js"></script>
<script src="videojs-youtube-swf.min.js"></script>
</head>video tag
<video id="example" class="video-js vjs-default-skin" preload controls width ="976" height="450" data-setup="">
<source src="http://www.youtube.com/watch?v=wVH--bLiVZ8#t=10" type="video/youtube">
</video>Development
- Install grunt-cli
npm install -g grunt-cli- build
grunt- test
grunt test