Merge pull request #1 from igrigorik/master

Update
This commit is contained in:
Alexey Kudrow
2016-03-06 14:00:09 +07:00
2 changed files with 21 additions and 8 deletions

View File

@@ -17,10 +17,11 @@ HTML5 video provides a native API to accelerate playback of any video. The probl
Once the extension is installed simply navigate to any page that offers HTML5 video ([example](http://www.youtube.com/watch?v=E9FxNzv1Tr8)), and you'll see a speed indicator in top left corner. Hover over the indicator to reveal the controls to accelerate, slowdown, and quickly rewind or advance the video. Or, even better, simply use your keyboard: Once the extension is installed simply navigate to any page that offers HTML5 video ([example](http://www.youtube.com/watch?v=E9FxNzv1Tr8)), and you'll see a speed indicator in top left corner. Hover over the indicator to reveal the controls to accelerate, slowdown, and quickly rewind or advance the video. Or, even better, simply use your keyboard:
* **a** - rewind video 10 seconds. * **S** - decrease playback speed.
* **s** - decrease playback speed. * **D** - increase playback speed.
* **d** - increase playback speed. * **R** - reset playback speed.
* **t** - advance video 10 seconds. * **Z** - rewind video by 10 seconds.
* **X** - advance video by 10 seconds.
Note that you can customize these shortcuts in the extension settings page. Also, a few tips for enabling and forcing HTML5 video: Note that you can customize these shortcuts in the extension settings page. Also, a few tips for enabling and forcing HTML5 video:
@@ -28,11 +29,19 @@ Note that you can customize these shortcuts in the extension settings page. Also
* If you're adventurous, try disabling the Flash plugin in Chrome in chrome://plugins/ * If you're adventurous, try disabling the Flash plugin in Chrome in chrome://plugins/
* If viewing a video on Wistia, right click to switch to HTML5 video, refresh the page, and the controls will appear. * If viewing a video on Wistia, right click to switch to HTML5 video, refresh the page, and the controls will appear.
### Wishlist ### FAQ
* Make it not suck with Vimeo content: "s" shortcut and button clicks **The video controls are not showing up?** This extension is only compatible with HTML5 video. If you don't see the controls showing up, chances are you are viewing a Flash video. If you want to confirm, try right-clicking on the video and inspect the menu: if it mentions flash, then that's the issue. That said, most sites will fallback to HTML5 if they detect that Flash it not available. You can try manually disabling Flash plugin in Chrome:
* Your awesome feature here...
* In a new tab, navigate to `chrome://plugins`
* Disable "Adobe Flash Player"
* Restart your browser and try playing your video again
**The speed controls are not showing up for local videos?** To enable playback of local media (e.g. File > Open File), you need to grant additional permissions to the extension.
* In a new tab, navigate to `chrome://extensions`
* Find "Video Speed Controller" extension in the list and enable "Allow access to file URLs"
* Open a new tab and try opening a local file, the controls should show up
### License ### License

View File

@@ -1,7 +1,7 @@
{ {
"name": "Video Speed Controller", "name": "Video Speed Controller",
"short_name": "videospeed", "short_name": "videospeed",
"version": "0.2.6", "version": "0.2.7",
"manifest_version": 2, "manifest_version": 2,
"description": "Speed up, slow down, advance and rewind any HTML5 video with quick shortcuts.", "description": "Speed up, slow down, advance and rewind any HTML5 video with quick shortcuts.",
"homepage_url": "https://github.com/igrigorik/videospeed", "homepage_url": "https://github.com/igrigorik/videospeed",
@@ -25,6 +25,10 @@
"matches": [ "http://*/*", "https://*/*", "file:///*"], "matches": [ "http://*/*", "https://*/*", "file:///*"],
"exclude_matches": [ "exclude_matches": [
"https://plus.google.com/hangouts/*", "https://plus.google.com/hangouts/*",
"https://hangouts.google.com/hangouts/*",
"https://teamtreehouse.com/*",
"https://www.instagram.com/*",
"https://www.twitter.com/*",
"http://www.lynda.com/*", "http://www.lynda.com/*",
"http://www.hitbox.tv/*" "http://www.hitbox.tv/*"
], ],