Commit Graph

278 Commits

Author SHA1 Message Date
Jonathan Dawson
50eaa92bdd remove errant console.log 2019-11-21 17:41:50 -06:00
Jonathan Dawson
196e6ba7b2 remove old controller when changing to a new video 2019-11-21 17:40:23 -06:00
Jonathan Dawson
91cf313f52 change from tabs to spaces 2019-11-21 17:03:40 -06:00
Jonathan Dawson
20a15f8da5 change recursive function and change variables that use querySelector. 2019-11-21 16:54:09 -06:00
Jonathan Dawson
ad86b01cc6 add comment explaining insertion location. 2019-11-20 18:39:38 -06:00
Jonathan Dawson
5c1f4b8f6d Merge branch 'master' of github.com:igrigorik/videospeed into apple-tv-plus 2019-11-20 17:57:52 -06:00
Jonathan Dawson
30d9d40ecb put div wrapper in the video's parent node light dom for correct context 2019-11-19 19:08:14 -06:00
jacobcolbert
c4a26e3da2 Merge pull request #544 from jacobcolbert/fix-543
Prevent disabling default keybindings from disabling text input.
2019-11-19 19:28:14 -05:00
jacobcolbert
17bff8affb Check target of keyEvent instead of activeElement for text editability 2019-11-19 01:58:01 -05:00
Jonathan Dawson
d38daa5ffa only look for aria-hidden attributes rather than all attribute changes. 2019-11-15 13:11:44 -06:00
Jonathan Dawson
4de8ae4a0b refactor apple tv specific mutationObserver into second mutationObserver 2019-11-14 18:05:56 -06:00
Jonathan Dawson
48eca5b060 Merge branch 'master' of github.com:igrigorik/videospeed into apple-tv-plus
merge with master
2019-11-14 16:04:07 -06:00
Yang
ac53d3ea2b Adding feature - Show the controller briefly when adjusting speed and the controller is set to hidden. (#538)
Adding new feature: when the controller is hidden and the user changes rate, show the controller briefly. A new action called `blink` is added, and is called when the rate changes. Then if the controller is hidden, remove `vsc-hidden` and add it back after `value` millisecends.
2019-11-13 22:55:25 -08:00
Jonathan Dawson
123f37e516 extra whitespace deletion 2019-11-12 13:26:16 -06:00
Jonathan Dawson
1bd0635325 ignore keydown event when there is no video on apple tv 2019-11-12 12:57:22 -06:00
Jonathan Dawson
4b42da106a revert the second mutation observer back to the one in the master 2019-11-12 12:53:24 -06:00
Jonathan Dawson
ee3b0ae19e use treewalker to find shadow videos 2019-11-12 12:47:57 -06:00
Jonathan Dawson
764ecca262 completely change the logic. keydown events and controls don't work 2019-11-10 13:07:42 -06:00
Jonathan Dawson
349279013d fix ReferenceError 2019-11-09 14:03:24 -06:00
Jonathan Dawson
da96a33c95 change the input for shadowMutations function 2019-11-09 13:06:26 -06:00
Jonathan Dawson
f5280b44af imported shadowMutations from ally.js 2019-11-09 12:38:18 -06:00
Jonathan Dawson
71c11ddeb8 initial commit for apple tv plus bugfix. 2019-11-09 11:34:08 -06:00
jacobcolbert
ec9f3f6d20 Merge pull request #533 from thewheat/show-hide-controller-disable-website-keybinds
Add ability to disable website keybindings for show/hide controller (Fixes: #526)
2019-10-20 15:38:26 -04:00
Timothy Lim
c3f44db1bf Add ability to enable/disable from toolbar (#528)
* Add ability to enable/disable from toolbar
2019-10-18 21:28:52 +02:00
Timothy Lim
29788ba82a Make shortcuts consistent 2019-10-18 20:05:58 +08:00
Timothy Lim
a01f397d36 Add ability to use arrows and Function keys for shortcuts (Fixes: #532) (#534)
* Add ability to use arrows for shortcuts
* Add support for function keys
2019-10-16 23:17:13 +02:00
Timothy Lim
823a24475c Add ability to disable website keybindings for show/hide controller 2019-10-11 17:29:55 +08:00
Timothy Lim
49e9f4b78d Use .currentSrc instead of .src to correctly identify video (#529) 2019-10-05 16:54:11 -07:00
Joe Lencioni
5641369385 Add teams.microsoft.com to default blacklist (#495)
Microsoft Teams is used for video conferencing, and this extension
causes all of the videos to be half cut off. I think it would be a good
idea to add it to the default blacklist.
2019-08-03 11:09:23 -07:00
Gabriel Mawhinney
e84878d215 Add feature to change controller opacity (#478)
* Add option for changing controller opacity
2019-05-21 21:23:22 -07:00
jacobcolbert
568282a106 Use built in pause() and play() (#475)
Fix #474 and #428
2019-05-18 07:56:39 -07:00
jacobcolbert
d8965f644c Add feature to jump to marker (#471)
* Add options for setting marker and jumping to marker
* Correct "mute" to "muted"
2019-05-05 21:41:16 -07:00
jacobcolbert
e91b4c9cdb Fix whitespace issue in blacklist (#472)
* Change regex to no longer merge on blank lines
2019-05-05 21:38:12 -07:00
jacobcolbert
e6835f39ff Hide controller for videos with no source (#467)
* Check for source upon initialization
* Hide controllers for videos with no source.
  - Create a MutationObserver for each video to watch for source changes.
2019-05-04 09:26:43 -07:00
jacobcolbert
04eaa51cda Fully remove videoController on video removal (#469)
* Check if video is part of DOM before removing
* Fully remove controller when video is removed
 - Remove eventListeners registered by controller when deleted. 
 - Store reference to functions to allow this
* Give each videoController object a reference to the visible controller div
2019-05-01 23:06:06 -07:00
Ilya Grigorik
2310423c94 cleanup formatting + comments 2019-04-26 21:38:18 -07:00
Ilya Grigorik
fb5c2ea330 bump version to 0.5.6 2019-04-26 21:32:43 -07:00
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