Commit Graph

6 Commits

Author SHA1 Message Date
Bnyro
ce9ef0693f Reformat the whole project 2022-12-23 14:57:10 +01:00
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
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
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
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