Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grayjay
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoStreaming
Grayjay
Commits
620f5a04
Verified
Commit
620f5a04
authored
3 months ago
by
Kai DeLorenzo
Browse files
Options
Downloads
Patches
Plain Diff
prevent going into full screen when entering pip mode
parent
7c9e9d5f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!55
prevent going into full screen when entering pip mode
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt
+1
-2
1 addition, 2 deletions
...tformplayer/fragment/mainactivity/main/VideoDetailView.kt
with
1 addition
and
2 deletions
app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt
+
1
−
2
View file @
620f5a04
...
...
@@ -2582,7 +2582,6 @@ class VideoDetailView : ConstraintLayout {
_overlayContainer
.
removeAllViews
();
_overlay_quality_selector
?.
hide
();
_player
.
setFullScreen
(
true
)
_player
.
fillHeight
(
false
)
_layoutPlayerContainer
.
setPadding
(
0
,
0
,
0
,
0
);
}
...
...
@@ -2797,7 +2796,7 @@ class VideoDetailView : ConstraintLayout {
super
.
onConfigurationChanged
(
newConfig
)
if
(
fragment
.
state
==
VideoDetailFragment
.
State
.
MINIMIZED
)
{
_player
.
fillHeight
(
true
)
}
else
if
(!
fragment
.
isFullscreen
)
{
}
else
if
(!
fragment
.
isFullscreen
&&
!
fragment
.
isInPictureInPicture
)
{
_player
.
fitHeight
()
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment