Commit Graph

47 Commits

Author SHA1 Message Date
Krunal Patel
fe02b0e30c Fix gesture controls for portrait videos
Use `PlayerViewModel.isFullscreen` to check if video is playing in full screen instead of screen orientation.
Scale progress bar `progress` according to it's max size.
2022-11-28 18:16:46 +05:30
Bnyro
9d9709be7b Option to disable double tap to seek 2022-11-27 18:41:34 +01:00
Bnyro
6f267617be fix locking the player 2022-11-27 13:54:58 +01:00
Krunal Patel
d7436aaf2c Fix plain text links and NPE when opening link from external source 2022-11-26 23:16:49 +05:30
Bnyro
ce66873ef3 pinch to zoom 2022-11-26 11:10:18 +01:00
Krunal Patel
612a23c1dc Fix pip mode brightness issue
Check if activity is in pip mode then use system brightness.
Don't force to store brightness while returning from pip mode. Since it contains system brightness.
2022-11-26 14:17:02 +05:30
Krunal Patel
92cc7a9cf3 Fix brightness inconsistency
Brightness changes affect only when player is in full-screen (landscape) mode.
Store brightness value to shared preferences which can be restored for later use.
2022-11-26 14:17:01 +05:30
Bnyro
6419d13b00
Merge pull request #2047 from Bnyro/master
improve slider dialog accessability
2022-11-25 18:36:46 +01:00
Bnyro
51cf08676f improve slider dialog accessability 2022-11-25 18:36:03 +01:00
Krunal Patel
f509e63c2a Fix typo, implement player options instead of creating variable 2022-11-25 20:33:22 +05:30
Krunal Patel
7b9c8d7d56 Add preference setting to enable/disable swipe control
By default gesture is enabled. Which can be desabled from setting.
2022-11-25 20:33:21 +05:30
Krunal Patel
7d58a71d27 Add swipe gesture control for brightness and volume
Create interface `PlayerGestureOptions` that defines all controlles.
`PlayerGestureController` takes this as listner and call apropriate method.
Double tap events are also called from this class.
2022-11-25 20:33:20 +05:30
Bnyro
c212fda429 pause and play on double click at the center 2022-11-23 18:11:56 +01:00
Bnyro
bbdeeea03b add repeat queue btn 2022-11-17 16:45:07 +01:00
Bnyro
29e9c36086 show the current preferred audio language 2022-11-17 16:14:15 +01:00
Bnyro
4502e07fc6 remove unused reference 2022-11-17 16:06:06 +01:00
Bnyro
4ac05e5171 attempt to set language by locale 2022-11-16 13:59:54 +01:00
Bnyro
d0ef111c2d implement audio tracks backend 2022-11-16 10:40:48 +01:00
Bnyro
7f1e0147c1 use a different sponsorblock color 2022-11-11 18:48:06 +01:00
Bnyro
49bbe312d1 add logic 2022-11-09 18:15:21 +01:00
Bnyro
e0512fcfbf time picker backend 2022-11-09 18:01:59 +01:00
Bnyro
c21f553fa4 layout fixes 2022-11-06 16:35:36 +01:00
Bnyro
a85bf705db some UI changes 2022-11-06 15:50:52 +01:00
Bnyro
8046ba97db expand options by default 2022-11-05 14:42:41 +01:00
Bnyro
c8c2ab02e2 player view cleanup 2022-10-29 15:33:06 +02:00
Bnyro
8474471691 cleanup sponsorblock 2022-10-28 23:39:25 +02:00
Bnyro
e4e71e6e80 remove testing code 2022-10-28 23:20:07 +02:00
Bnyro
97fe762ede use a theme color 2022-10-28 21:39:36 +02:00
Bnyro
31a52f004e make it a preference 2022-10-28 21:27:04 +02:00
Bnyro
b997b60d19 layout improvements 2022-10-28 21:21:46 +02:00
Bnyro
6de599a310 show sponsorblock markers 2022-10-28 20:14:04 +02:00
Bnyro
9998cec4c4 Hide System UI upon Hiding the Controller 2022-10-18 19:32:46 +02:00
Bnyro
c54e99bf9a Hide sheets on PiP change 2022-10-17 19:25:07 +02:00
Bnyro
499be1e1cb fix the playback speed sheet 2022-10-16 14:20:56 +02:00
Bnyro
4c2d438c58 fix the floating time bar 2022-10-15 17:03:50 +02:00
Bnyro
e718937dd6 more cleanup + more features for the offline player 2022-10-07 19:39:41 +02:00
Bnyro
404ea99c8e increase bottom bar margin upon landscape 2022-10-05 22:15:45 +02:00
Bnyro
df2c9d9314 use bottom sheets for all player options 2022-10-01 11:53:22 +02:00
Bnyro
57b266aeb7 playback speed bottom sheet 2022-10-01 11:43:40 +02:00
Bnyro
e7d60a5fe9 slider preference cleanup 2022-09-29 20:24:39 +02:00
Bnyro
1e2d92f088 fix crash 2022-09-29 19:43:00 +02:00
Bnyro
f3b8433f1b seek increment to slider preference 2022-09-29 19:39:01 +02:00
Bnyro
2b0d29c52c add 1 day as sync freq 2022-09-29 19:35:10 +02:00
Bnyro
5b4102ec57 move the base views to the UI package 2022-09-24 12:34:53 +02:00
Bnyro
6e663cff41 fix some prefs 2022-09-23 14:15:55 +02:00
Bnyro
eab603acb8 ktlint 2022-09-20 20:00:51 +02:00
Bnyro
f9f634de1a code structure 2022-09-20 19:53:34 +02:00