Commit Graph

61 Commits

Author SHA1 Message Date
c7d133ba3d ensure aspect ratio only gets changed on aspect ratio changes 2020-10-21 19:48:04 +02:00
4f478a4667 Calculate "real" displayed side of video instead of relying on offsetWidth 2020-09-23 00:23:24 +02:00
b55d9dd7b9 fix? 2020-09-23 00:19:42 +02:00
02fa4e2fe8 style fixes 2020-09-20 12:26:03 +02:00
d59a78b039 Hopefully this fixes #104. Turns out 'location.host' and 'location.hostname' aren't quite interchangeable 2020-06-04 22:47:04 +02:00
a4bca8af45 Additional fixes for #101 — if illegal video dimensions are detected, tell VideoData to reset/reapply aspect ratio when video starts playing again 2020-06-04 21:51:22 +02:00
5c73f97c54 Add player dimension sanity check to resizer 2020-06-01 23:54:42 +02:00
84470846ef Typo fixes & addign words to dictionary 2020-05-16 20:52:37 +02:00
ed0e51114c Change timeouts again 2020-04-30 00:40:12 +02:00
e1b062f19e increase number of retries 2020-04-30 00:14:26 +02:00
ccde079aee If video dimensions are invalid, wait a little and check again before performing the crop calculation 2020-04-28 03:05:55 +02:00
c5f6868a63 Make sure aspect ratio makes sense before setting it. Don't set NaN for aspect ratio, that tends to break things 2020-03-01 16:55:52 +01:00
78364472ad Avoid logging too much unnecessary stuff 2020-02-03 22:13:03 +01:00
9ba1afebee Use optional chaining 2020-01-28 23:34:36 +01:00
73b1a57749 Added extra stretch/squish options, hopefully fixed disney+, fixed bug that prevented removal of actions added by user 2019-12-06 00:17:09 +01:00
0eadb1aac6 Don't set aspect ratio pointlessly 2019-11-04 23:53:28 +01:00
414bf7b36f Update logger output 2019-11-04 23:52:37 +01:00
970b9b6b1d Reset panning on aspect ratio change. 2019-11-02 02:45:24 +01:00
5e20925ec5 Fix fit to width / fit to height for portrait monitors 2019-10-28 20:33:40 +01:00
470a7e8883 Fix video fit on portrait orientations 2019-10-27 22:11:07 +01:00
2422cec1e9 update formatting 2019-10-27 22:08:48 +01:00
854bc05d14 Pass set-ar-persistence between CommsClient and pageInfo 2019-10-26 02:38:47 +02:00
d0058cedb9 Changes to how crop mode persistence works, extra persistence options 2019-10-24 23:27:43 +02:00
8fde5bb3d6 Implement crop persistence in content script 2019-10-24 00:45:11 +02:00
46bc4bfd8d Fixes for reddit 2019-09-22 02:07:04 +02:00
0bed77bafa Fix new reddit 2019-09-18 01:05:07 +02:00
66bcc40fb4 Minor fixes 2019-09-03 23:49:22 +02:00
59df28029f logger import reordering 2019-09-03 23:01:23 +02:00
7ac5e17415 Fix passing logger some more 2019-09-03 22:55:10 +02:00
0ab1f558e1 Changes to logger insert (from videoData.logger instead as consructor param) 2019-09-03 22:42:38 +02:00
df5b2b5165 Finished converting console.logs to logger 2019-09-03 00:48:18 +02:00
24dcbdf770 Merge branch 'stable' 2019-08-24 23:21:53 +02:00
d7b3508f85 Replace (video) cssWatcher with mutation observer 2019-08-24 17:05:04 +02:00
13104609cd Only replace CSS if the CSS changed 2019-08-24 17:04:53 +02:00
eeddbe9cc6 Combine ejectCss and injectCss into a single function 2019-08-24 00:28:08 +02:00
68b3589e77 Twitching issue was fixed but performance is shite 2019-08-23 02:25:48 +02:00
338afad417 Replace consoles in ext with custom logger 2019-07-18 21:25:58 +02:00
2df3c3c9be Don't insert CSS on player element. Insert CSS into page instead. Popup doesn't work, still. 2019-06-14 02:15:24 +02:00
afefed7f34 Manually assigning players sorta works, but is bugged 2019-06-12 23:55:15 +02:00
26610f2e00 Start working on applying extra css to player and video elements 2019-06-11 01:34:02 +02:00
2bfa3e8dfc Site settings: allow user to select a site 2019-06-07 01:50:13 +02:00
a3375eb289 Remove unnecessary logging 2019-06-06 19:47:43 +02:00
ae98b0aa92 Fix extension sometimes not working on netflix 2019-06-05 23:35:25 +02:00
ce30c6faa8 Fix #64 2019-05-26 02:53:29 +02:00
2f5acd9d9e Fixed multiple instances running on Twitch/clips.twitch. Fixed lockups on reddit/embedded. Fixed aspect ratio calculations on fitw and fith modes 2019-05-07 23:40:13 +02:00
a783c75b98 Fixed new actions not saving 2019-05-05 00:39:36 +02:00
0eba96af08 Fixed scaling problems from #48 and #54 2019-05-05 00:09:49 +02:00
d51ce8add7 Fixed cropping via popup 2019-04-25 22:02:10 +02:00
7b5157a48d Aspect ratio types were enumified. 2019-03-10 23:27:50 +01:00
3d0c6926db Automatic detection is now checking for gradients. Autodetection is slower because of that. 2019-02-21 21:21:25 +01:00