Commit Graph

69 Commits

Author SHA1 Message Date
Bnyro
e021a52dbc Reduce the amount of used data in background mode 2023-01-08 15:54:48 +01:00
Bnyro
581bf1d430 Don't dim player background when locked 2023-01-06 21:27:31 +01:00
Bnyro
56f8fdf84f Add a horizontal margin to the player controls at landscape 2023-01-03 18:44:04 +01:00
Bnyro
15afbc2a82 Replace the autoplay option with a switch 2023-01-01 15:41:48 +01:00
Bnyro
0dfb47143b Create a AppNameTextView component to clean up dialogs 2022-12-26 17:17:36 +01:00
Bnyro
d339e044c8 Cleanup #2504 2022-12-25 17:17:36 +01:00
Bnyro
2180f503fe Enable the SponsorBlock marker option by default 2022-12-25 17:00:50 +01:00
Bnyro
1109a93d23 Fix the SponsorBlock marker size 2022-12-25 16:59:55 +01:00
Bnyro
d1eb279563 Hide the comments bottom sheet when entering PiP 2022-12-20 16:45:29 +01:00
Bnyro
b607ea945b Theme the pull refresh progress 2022-12-20 16:37:37 +01:00
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
Krunal Patel
ab3ec4d5e2 Fix sync of volume progress changed by other mediums 2022-12-10 23:17:11 +05:30
Bnyro
92c60302e8 remember the playback speed per session 2022-12-08 18:21:56 +01:00
Bnyro
45721497d5 Improve the behavior for expanding the mini player 2022-12-06 12:27:10 +01:00
Bnyro
50f5ca5610 improve the conversion from dp to px 2022-12-06 11:34:06 +01:00
Bnyro
ce7054619f
Merge pull request #2263 from Kruna1Pate1/fix/caption-position
Fix subtitles cropped in zoom mode
2022-12-06 11:03:03 +01:00
Krunal Patel
bbd9b8546a Move duplicate code of playPauseBtn to CustomExoPlayerView 2022-12-06 15:07:08 +05:30
Krunal Patel
5457494340 Use constant for subtitle padding fraction 2022-12-06 14:20:56 +05:30
Krunal Patel
769d09f98d Fix subtitles cropped in zoom mode 2022-12-06 12:40:56 +05:30
Bnyro
085eff2041
Merge pull request #2171 from Kruna1Pate1/fix/minimized-player
Fix minimized player and repeat button
2022-12-02 13:46:58 +01:00
Krunal Patel
bf1d9d46ba Change play pause implementation to use a single image button
Remove `exo_play_pause` and make use of the custom image view gives more accessibility
2022-12-02 17:56:00 +05:30
Krunal Patel
09d709dca8 Add setting to enable or disable pinch gesture 2022-12-02 12:27:31 +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
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