A Polymer element for <video> with playback speed controls
MIT License
A Polymer element for Ilya Grigorik's videospeed, adding playback speed controls to <video>
.
Maintained by Addy Osmani.
Import Web Components' polyfill:
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/platform.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/polymer.js"></script>
Import Custom Element:
<link rel="import" href="src/faster-video.html">
Start using it!
<faster-video></faster-video>
In order to run it locally you'll need a basic server setup.
Install NodeJS.
Install GruntJS:
$ [sudo] npm install -g grunt-cli
Install local dependencies:
$ npm install
Run a local server and open http://localhost:8000
.
$ grunt connect
Attribute | Options | Default | Description |
---|---|---|---|
width |
integer | 320 |
Video width |
height |
integer | 240 |
Video height |
git checkout -b my-new-feature
git commit -m 'Add some feature'
git push origin my-new-feature
For detailed changelog, check Releases.