benedictchen / google-chrome-html5video-controls Goto Github PK
View Code? Open in Web Editor NEWChrome extension for HTML5 video controls.
License: MIT License
Chrome extension for HTML5 video controls.
License: MIT License
Would you consider reducing the increment value from 0.25 to something smaller, say 0.05? I find that going from 1.00 to 1.25 to 1.50 isn't enough granularity -- I watch talks with my team at work and 1.5 is too fast for all but the slowest speakers and 1.25 is too fast for speakers with unfamiliar accents. I also suggest 0.05 because I listen to podcasts on my phone with a player that supports increments of 0.1, which is much better but still I sometimes find myself twiddling between two settings, wishing there was just one in between.
Granularity would be a great selling point for this extension too -- I have found nothing in the Chrome store that supports anything other than 0.25 and I have probably spent way too much time searching.
Fortunately I have found your extension and it's simple enough that I can tweak it and use my own local version even if you are not amenable to changing it. (I would submit a pull request but the changes are too trivial to warrant bothering.) Thanks!
feature: Ability to choose a default playback speed for all videos. I work a ton! id love to be able to have a bunch of tabs open with videos i watch on youtube and without pressing the the +++ to get me to playback speed +28+ could there just be a default selection in options?
BTW i love this! i review motion captured video from our security systems and this would change everything bud if you could add!
Hi5
Justin Cram
DyingJedi
Hi, so I have a bad habit of using the left and right arrow keys on youtube.com which skips forwards/backwards 5 or 10 seconds in the video. But everytime I use this, it increases the speed as well which DRIVES ME INSANE. Maybe you could make an option to disable this on some websites or just on youtube.com by default. I know a lot of people use this and it drives me insane! Thanks for reading.
-Todd
The plug in breaks video playback on the guardian site. You can hear audio but can't see the video.
Here's the link where I discovered the issue.
I'm running Chrome Version 43.0.2357.81 on OSX 10.10.3.
It seems that position relative is causing the problem. However, removing the line disables support for tuts plus.
.sophis-video {
position: relative;
Have a settings page that allows a choice for which websites it does or does not appear in (whitelist or blacklist) this control box appears inside.
Hi, thanks for making the extension. It doesn't look like jquery is necessary/used. Why not remove it from the extension to save user's memory? Maybe I'm missing something, though - please correct me if I'm wrong.
Thanks!
Pat
viewing videos on vimeo.com works
but when a site embeds a vimeo video, things aren't happy. the controller shows up at first, but doesn't work. after a while, it disappears. Meanwhile, every click is interpreted by the vimeo player.
Here is an example:
https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer/description
(not the top video, which is flash - lower down, "pocket chip demonstration").
thanks for this extension. it is awesome.
Have a settings page that allows for an option to make the control box not visible unless hovered over for the past 'x' seconds.
I wanted to speed up videos at https://www.destroyallsoftware.com/, but those are served from http://sublimevideo.net and their weird system seems to screw up this extension (it just has no effect, even though it shows up and is clickable and changes values).
It's definitely a problem on sublimevideo's end (I've submitted a request for them to fix, but maybe there's a way around their system.
A user posted a bug to which another user proposed a solution:
Inadvertent speed changes by pressing Space
Posted by A Google User - Apr 19, 2014
On YouTube, if you click with the mouse to change the speed, and then press the Space key to play/pause the video, the Space key will be passed to both the speed control and video. So every time you play/pause the video using the Space key, it will inadvertently change the video speed as well.
Posted by Shai Coleman - May 24, 2014
This can be solved by adding to the handleClick function before the return statement (speedcontrol.js, line 110) the following line:
this.videoEl_.parentNode.parentNode.focus();
The problem with this solution is that it can move the location in the page, but there's no easy fix that I've been able to find. Should probably filter on youtube domains just so other sites aren't broken by this.
Hi,
The plugin doesn't have any effect on videos on thescene.com.
Also, when this video was embedded on the original page, the video speed controls didn't appear at all.
thanks!
this works great, but certain hosts (Periscope, Amazon, Netflix) place divs on top of the video player as overlays, therefore I am unable to click on the sophis speed control (similar issue to the closed issue re Vimeo).
using a z-index of 9999999 in css doesn't seem to have any effect, maybe because the control is injected after the main dom loads?
so if you could create a small dropdown control when the icon in chrome menu is clicked, and we have a second method of controlling the speed, it would be helpful. thanks
or, allow option in settings to position the speed control using absolute pixel values, and it could be moved outside of the video object before the overlay div takes effect on full screen mode.
See
Might need to patch in the styles by moving all the ::shadow css into another file and removing the preceding XXX::shadow
selector, then loading the stylesheet into shadow dom.
i.e. something like:
var eStyle = document.createElement("link");
eStyle.href = chrome.runtime.getURL("./shadow_style.css");
document.querySelector(".sophis-video-control").shadowRoot.appendChild(eStyle);
The ability to move the box by 'click and drag' to be anywhere in the video stream and not limited to the top left corner. See attached photo: in netflix the 'close'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.