mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-04 15:19:48 +00:00
Theoretical fix for double controls.
This commit is contained in:
parent
745aad385b
commit
85db4cc4e6
1 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
||||||
_videoView.resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT;
|
_videoView.resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT;
|
||||||
|
|
||||||
_videoControls_fullscreen.show();
|
_videoControls_fullscreen.show();
|
||||||
videoControls.hide();
|
videoControls.hideImmediately();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
val lp = background.layoutParams as ConstraintLayout.LayoutParams;
|
||||||
|
@ -561,7 +561,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
||||||
_videoView.resizeMode = AspectRatioFrameLayout.RESIZE_MODE_ZOOM;
|
_videoView.resizeMode = AspectRatioFrameLayout.RESIZE_MODE_ZOOM;
|
||||||
|
|
||||||
videoControls.show();
|
videoControls.show();
|
||||||
_videoControls_fullscreen.hide();
|
_videoControls_fullscreen.hideImmediately();
|
||||||
}
|
}
|
||||||
|
|
||||||
fitOrFill(fullScreen);
|
fitOrFill(fullScreen);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue