Commit Graph

241 Commits

Author SHA1 Message Date
jacobcolbert
3c133810b9 Let each controller can track its own speed (#463)
Prevent source changes from changing speed in same video container.
2019-04-26 21:32:18 -07:00
jacobcolbert
4b112362f4 Check that controller still exists before showing (#452)
* Check that controller still exists before showing
2019-04-26 21:30:53 -07:00
jacobcolbert
a159fa4013 Update the tc.settings.speed on rateChange (Fix #455) (#458)
* Update the tc.settings.speed on rateChange (Fix #455)
* Refactor speed to lastSpeed
2019-04-24 19:47:50 -07:00
jacobcolbert
5fec357d2e Add support for audio (#454)
* Add speed controler for audio
* Add additional checks for audioBoolean
* Change video to media
2019-04-21 07:43:54 +09:00
Ilya Grigorik
7bfa8a9985 cleanup formatting 2019-04-19 23:20:34 +09:00
jacobcolbert
005fceac83 Fix issue where youtube resets speed when fullscreen (#447)
* Fix issue where youtube resets speed
Track the speed of a video based on its source at time of last
ratechange. Newly initialized videos with same source automatically
will use the same speed as previous video with that source.

* Make controller button press only affect that controller
* Remove deprecated settings
* Initialize speed on Play if not yet initialized
2019-04-19 23:14:48 +09:00
jacobcolbert
40be1c528d Match on about:blank pages and iframes (Fix #448) (#453)
* Match on about:blank pages and iframes (Fix #448)
2019-04-19 11:38:02 +09:00
Ilya Grigorik
da52cde172 update min/max references, closes #409 2019-04-18 23:25:30 +09:00
fent
f11a257de3 fix detecting video on plex (#434) 2019-02-26 21:12:25 -08:00
Ilya Grigorik
5e401d673f bump to 0.5.4 2019-02-24 22:12:26 -08:00
Ilya Grigorik
5972cbdd22 remove sendMessage wrapper
Discussion: https://github.com/igrigorik/videospeed/issues/339
2019-02-17 11:39:21 -08:00
Ilya Grigorik
26f85e7fbb update and cleanup readme 2019-01-05 17:22:14 -08:00
Brett Cooper
2f11faddb3 Added extra information about shortcut keys and how to customize them. (#419)
* Update README.md

Added extra information about shortcut keys and how to customize them.
2019-01-05 17:03:31 -08:00
Can Arslan
7c633f3986 Ignore key event without vsc (#405)
It was causing problem with force disable key bindings and it will fix it.
2018-12-15 09:25:20 -08:00
Can Arslan
e24b95dd84 Allow user to define custom shortcuts #347 (#399)
- Over-all working structure changed
- tc.settings.keyBindings array added
- Options page changed
Clean up of #350
2018-12-11 22:31:44 -06:00
Can Arslan
ecca27f0c0 fixes #381: YouTube full screen title overlap (#392) 2018-12-11 22:22:40 -06:00
Can Arslan
8547a95a16 Fix for Chrome 71 touch events bug (#397)
* Fix for Chrome 71 touch events bug

Fixes #389, #396, #395, #394 (duplicates)
Also fixes #213 video control panel disappears sometimes after click which was caused by double clicking was canceling. this issue was most commented issue.

* Update inject.js
2018-12-11 22:03:50 -06:00
Rongjian Zhang
86ccce0a86 fix: replace deprecated createShadowRoot with attachShadow (#386)
fix #384
2018-11-05 11:43:46 -05:00
Ilya Grigorik
0256ccb593 facebook.com: move controls lower to avoid overlap with player
Closes #372
2018-09-06 21:38:27 -07:00
Ilya Grigorik
0ad52bbed9 bump to 0.5.2 2018-07-01 12:18:16 -07:00
Ilya Grigorik
8b9c7de29e ignore local 2018-07-01 12:12:01 -07:00
Ilya Grigorik
cb6d325723 expand Google Hangouts wildcard; disable VSC on Hangouts 2018-06-16 09:58:24 -07:00
Can Arslan
4e96e57e7d Update inject.js (#346) 2018-06-16 09:39:46 -07:00
Ilya Grigorik
1718872d98 fix missing function keyword 2018-05-18 12:04:38 +01:00
Ilya Grigorik
912165605c bump to 0.5.1 2018-05-17 12:39:31 +02:00
Can Arslan
bcf3a0716f unclickable overlay fix on reddit video - #315 (#325)
* Overlay on reddit fix - #315 
 - not fixing "in the middle of the video" part
2018-05-15 05:42:22 -07:00
Can Arslan
e84e19069d fixes #332 with adding keydown listener to parent (#334)
fixes #332
this adds keydown listener to parent document if there is one.
it does not use background files which uses unnecessary ram
2018-05-15 00:20:42 -07:00
Can Arslan
0999acc7fc Fix for #326 (#327)
* Fix for #326, #269, #309
 - previous approach disabled controller for local playback
2018-04-13 01:52:41 -04:00
Can Arslan
70a055156e resetSpeed and fastSpeed conflict #221 (#222)
* resetSpeed and fastSpeed conflict #221
2018-04-01 20:51:24 -07:00
Can Arslan
b5426ef21b Fix for #296
new version of chrome gives error when 0.06 speed given.
0.0625.toFixed() gives 0.06 so we should give at least 0.07 to it.
2018-04-01 20:42:42 -07:00
Ilya Grigorik
7079bbf718 document upper & lowercase use of shortcuts 2018-04-01 13:36:36 -07:00
Adam Spiers
23f5c9735e document Shift+S workaround for Vimeo
Fixes #304.
2018-04-01 13:19:08 -07:00
Paul Irish
343a9573ff cache node.children[i] for 10% speedup. 2018-03-19 14:41:02 -07:00
Paul Irish
b31d53a4d0 enqueue the entire MuObs handler instead. 2018-03-19 14:41:02 -07:00
Paul Irish
8e199cd975 delay DOM node walking via requestIdleCallback 2018-03-19 14:41:02 -07:00
Ilya Grigorik
e85dad3280 update audio+video min/max references
Audio is no longer cutoff [1]. Video limits still in place.

[1] https://developers.google.com/web/updates/2017/12/chrome-63-64-media-updates#remove-muting-extreme-playbackrates

Closes #300.
2018-02-08 13:35:26 +00:00
Ilya Grigorik
e50c29c5dd verify doctype is present, pass in window's document
Fixes #309
2018-02-08 13:16:27 +00:00
Ilya Grigorik
7606224ec9 initialize on HTML docs
Closes #269.
2017-12-27 13:10:38 -05:00
Ilya Grigorik
73fb1d34d0 bump to 0.5.0 2017-12-27 13:08:14 -05:00
Roly Fentanes
371168636f better way of following mouse on controller drag 2017-12-10 11:49:56 -08:00
Fabio Espinosa
949b9157e4 Add info about remembering current playback speed 2017-12-10 11:47:12 -08:00
codebicycle
ae778d2901 Replace chrome.extension with chrome.runtime
The messaging APIs in `extension` module are deprecated in favor of
the equivalent APIs in the `runtime` module.

Sources:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/extension
https://developer.chrome.com/extensions/extension#methods
2017-10-03 13:47:43 -07:00
Roly Fentanes
194fcc1076 Also remove className regardless of ctrl 2017-10-01 12:39:37 -07:00
Roly Fentanes
1004348a47 Remove vscid even if ctrl is not found 2017-10-01 12:39:37 -07:00
mariusi7
60599996ee Update inject.js
Some regional HBO GO sites don't use www anymore, so issue 199 reappeared.
2017-09-25 08:08:27 -07:00
zenwarr
2fe5547c64 fix wrong label in settings 2017-09-22 05:14:12 +09:00
Ilya Grigorik
d75552b280 bump to 0.4.9 2017-08-27 14:20:34 -07:00
Ilya Grigorik
66ffd62b76 update disable flash instructions
Closes #249
2017-08-27 11:37:47 -07:00
Ilya Grigorik
32a3c5392f Unify controller close (x) with display shortcut
Clicking (x) in controller is equivalent to hiding it via shortcut (v).

Closes #232
2017-08-27 11:31:43 -07:00
Ilya Grigorik
daec249e3f revert z-index override for facebook.com
Current logic conflicts with imgaus extension - see #241.

Also, looks like FB may have changed their stacking? Can't reproduce old
problem (#210), testing:

- https://www.facebook.com/facebook/videos/10106941168235097/
- https://www.facebook.com/pg/facebook/videos/
- Videos in newsfeed

Closes #241
2017-08-27 11:14:55 -07:00