Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ios
WebView-Test
Commits
12eab1b7
Commit
12eab1b7
authored
2 years ago
by
PYFer
Browse files
Options
Download
Email Patches
Plain Diff
LIVE-50654-100%%【直播】【多场景SDK】iOS 画中画支持退后台自动出现 - 新增开启或关闭后台播放功能
parent
b302cc2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
WebView-Test/PLVWebViewSDK/Core/PLVWebViewManager.m
WebView-Test/PLVWebViewSDK/Core/PLVWebViewManager.m
+1
-1
No files found.
WebView-Test/PLVWebViewSDK/Core/PLVWebViewManager.m
View file @
12eab1b7
...
...
@@ -590,7 +590,6 @@ PLVPictureInPictureManagerDelegate
-
(
void
)
plvPIPManagerPictureInPictureDidStop
:(
PLVPictureInPictureManager
*
)
pipManager
{
if
(
self
.
isRestorePIP
)
{
[
self
startPlayWebViewVideo
];
self
.
isRestorePIP
=
NO
;
}
else
{
UINavigationController
*
nav
=
self
.
webViewController
.
navigationController
;
...
...
@@ -611,6 +610,7 @@ PLVPictureInPictureManagerDelegate
-
(
void
)
plvPIPManagerRestoreUserInterfaceForPictureInPictureStopWithCompletionHandler
:(
void
(
^
)(
BOOL
restored
))
completionHandler
{
// 点击画中画恢复按钮,先执行这里的代码执行恢复逻辑,然后再关闭画中画
self
.
isRestorePIP
=
YES
;
[
self
startPlayWebViewVideo
];
if
(
self
.
needRevertWindow
&&
!
self
.
pictureInPictureWillStop
)
{
[
self
postRevertWindowToNormal
];
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment