Commit Graph

6 Commits

Author SHA1 Message Date
Krunal Patel
677a01a055 Fix single tap on scroll or pinch gesture
Keep track whether the last touch event was for click or other gesture which can be used by runnable.
2022-12-02 12:27:30 +05:30
Krunal Patel
4c3060c17f Fix PiP aspect ratio in offline player 2022-11-28 18:16:46 +05:30
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
2ebebb4b42 fix accidential volume/brightness changes when zooming 2022-11-26 15:10:39 +01:00
Bnyro
ce66873ef3 pinch to zoom 2022-11-26 11:10:18 +01:00
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