Ilya Grigorik
70147ea97a
force controller visibility on mouse input
...
Closes https://github.com/igrigorik/videospeed/issues/160 .
2017-01-02 22:28:49 -08:00
Ilya Grigorik
4a3d170f84
new option to hide controller by default
...
When enabled controller visibility in 'manual' mode: to hide/unhide the
user needs to use the configured shortcut keys.
Closes https://github.com/igrigorik/videospeed/issues/156 .
2016-12-22 17:13:48 -08:00
Ilya Grigorik
05790085ff
clear dataset ID when removing controller
...
closes #155 .
2016-12-06 19:30:09 -08:00
Ilya Grigorik
e8f9a1813b
fix and simplify drag position calculation
2016-12-04 11:52:45 -08:00
Ilya Grigorik
db314ef520
don't reinitialize active controllers
2016-11-29 08:55:19 -08:00
Andrew Marshall
7e0ca9c97c
fix double controller on Coursera
2016-09-01 01:09:52 -05:00
Markus Jarderot
3b2139d2d7
Prevent intercepting typing in a textarea.
2016-08-27 22:37:04 +02:00
Ilya Grigorik
158039aaa9
fix the twitter blacklist default (no www)
2016-08-16 17:10:52 -07:00
Ilya Grigorik
221d107246
drop initialization flag on removed node
...
If the node is reattached later we want to rerun the initialization
logic to rebuild the controller.
Closes #135 .
2016-08-16 17:04:29 -07:00
Ilya Grigorik
23813d3f15
fix black overlay on openai.com
...
Closes #130 .
2016-07-29 11:01:43 -07:00
Ilya Grigorik
5949616238
Merge branch 'master' of github.com:igrigorik/videospeed
2016-07-29 10:43:24 -07:00
Ilya Grigorik
1784ea9f61
Merge branch 'drag-controller' of https://github.com/arao456/videospeed into arao456-drag-controller
...
Some cleanup + refactoring.
2016-07-28 23:30:42 +02:00
Ilya Grigorik
e01b7d7d29
Merge pull request #110 from wesbos/patch-1
...
Check for document before checking for readyState
2016-07-28 16:14:13 +02:00
Ilya Grigorik
c2878027bf
ignore modifier keys (except Shift)
...
closes #125
2016-07-28 16:05:14 +02:00
Ilya Grigorik
3cadcb5463
shortcut to hide/show controller
...
If manual control is used we override default youtube autohide behavior
and yield control to the user.
Closes #104 , #123 .
2016-07-28 15:27:36 +02:00
Ilya Grigorik
fce4d611b8
add user defined blacklist
...
Moving some of the previously blacklisted sites to user controlled
blacklist. Remaining sites in manifest are blocked due to interop
issues.
Closes #121 .
2016-07-28 13:28:40 +02:00
Ilya Grigorik
707c0c3f16
remove controller when video is removed from DOM
...
Closes #119 .
2016-07-20 22:55:51 -07:00
Arjun Rao
d09f9a0019
Add ability to drag controller
2016-06-26 01:44:48 -07:00
rajuGT
e251a2819c
Removed default parameter value initialization to support old version browsers
2016-06-24 02:24:25 +05:30
OutOfBrain
a59de27136
fix NodeList missing foreach in some browsers
2016-06-19 23:52:16 +02:00
Wes Bos
6d2a942dd2
Check for document before checking for readyState
2016-06-13 11:32:10 -04:00
Ilya Grigorik
1342d5bb06
YT fix: show on keyboard input
2016-06-09 22:55:39 -04:00
Ilya Grigorik
a2055f9d3e
check typeof node in MutationObserver
2016-06-09 18:23:54 -04:00
Ilya Grigorik
b0547496c9
refactor, wrap controller within shadowroot
2016-06-09 18:23:54 -04:00
Ilya Grigorik
fe0ad6d861
use MutationRecord's target as fallback for parent
2016-05-31 22:20:01 -07:00
Ilya Grigorik
4a8fe70bbc
Merge branch 'shadowroot'
2016-05-19 23:08:01 -07:00
Ilya Grigorik
9c038c506c
move controller into shadowroot
2016-05-19 23:05:28 -07:00
Ilya Grigorik
533cbb7ac6
fix controller on amazon
2016-05-14 22:44:18 -07:00
Ilya Grigorik
425ab8f59d
improve fonts on controller
2016-05-14 15:45:17 -07:00
Ilya Grigorik
ba511724e7
more consistent styling
2016-05-14 11:45:23 -07:00
Ilya Grigorik
06caa1ebb1
don't allow negative offsetTop
2016-05-14 10:59:56 -07:00
Ilya Grigorik
3a3ac88e10
switch to mutationobserver, check child nodes
2016-05-07 22:02:34 -07:00
Ilya Grigorik
b40b02b769
set offset height to top of the video
2016-05-07 12:16:16 -07:00
Ilya Grigorik
e2f7dbf0f1
don't change controller visibility on keyboard input
...
- We do want to set it to visible in case it's hidden
- We don't want to set it to 'hidden' because then hover commands can't
bring it back to visible state (e.g. YouTube player)
Fixes https://github.com/igrigorik/videospeed/issues/91 .
2016-03-27 11:18:30 -07:00
Кудров Алексей Владимирович
5d0011130f
Keypress event changed to keydown. It allows to control the extension with different keyboard layouts.
2016-02-11 14:38:45 +07:00
George Ogata
ed79c8e860
Apply controller to videos in all accessible iframes.
2016-01-18 04:14:30 -05:00
George Ogata
0fde1a3cc9
Extract videoController definition, scope to video's ownerDocument.
2016-01-18 04:14:20 -05:00
George Ogata
f1827ba630
Fix variable name.
2016-01-18 04:08:27 -05:00
Ilya Grigorik
ca0f446d2f
show controller on keyboard input
2015-11-07 21:24:01 -08:00
Ilya Grigorik
b99bc84906
round speed, set relative position
2015-11-07 15:37:24 -08:00
Ilya Grigorik
8850fd82e2
change default ff/rew keys to z & x
2015-11-07 15:01:36 -08:00
Ilya Grigorik
37e2d32ace
ignore keypress on contenteditable
2015-11-07 12:27:34 -08:00
DalJeanis
a72e07df9a
Add advance capability; Allow Changes when paused
2015-06-25 15:15:28 -05:00
Ilya Grigorik
88d3c288f7
Merge pull request #46 from oggy/master
...
Update our speed setting when the speed is changed externally.
2015-06-01 23:32:54 -07:00
Ilya Grigorik
209cee8079
remove tc-videoHost class inject: noop
2015-06-01 23:07:47 -07:00
George Ogata
e75f4f0c60
Don't update our video speed setting before the video is loaded.
...
In this state, the playback rate is always 1, as we haven't had a chance
to update it yet (which currently happens in the play callback).
Fixes speed setting when jumping between YouTube videos.
2015-05-31 03:54:57 -04:00
George Ogata
7031049819
Update our speed setting when the speed is changed externally.
...
e.g. Coursera videos have their own speed controls. If the speed
is changed from A to B via their controls, then the video is
paused & resumed, our play callback would reset the speed to A.
We now ensure our speed setting is accurate by updating it in the
ratechange callback, which happens no matter how the speed is
updated.
2015-05-24 03:26:53 -04:00
Ilya Grigorik
42c357804d
add shortcut to reset playback speed
2015-05-17 20:42:23 -07:00
Ilya Grigorik
9a7cd25d50
add explicit hide/close button
2015-05-14 23:42:12 -07:00
Jordan Burgess
215ef4742c
Respect rememberSpeed setting
...
Playback was retaining the playback speed between videos even with the
‘remember speed’ setting unchecked.
2015-04-03 01:21:34 +01:00