|
@@ -106,7 +106,7 @@ class NCPlayerToolBar: UIView {
|
|
|
|
|
|
backButton.setImage(NCUtility.shared.loadImage(named: "gobackward.10", color: .lightGray), for: .normal)
|
|
|
backButton.isEnabled = false
|
|
|
-
|
|
|
+
|
|
|
forwardButton.setImage(NCUtility.shared.loadImage(named: "goforward.10", color: .lightGray), for: .normal)
|
|
|
forwardButton.isEnabled = false
|
|
|
}
|
|
@@ -383,13 +383,3 @@ class NCPlayerToolBar: UIView {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-extension NCPlayerToolBar: AVPictureInPictureControllerDelegate {
|
|
|
-
|
|
|
- func pictureInPictureControllerDidStopPictureInPicture(_ pictureInPictureController: AVPictureInPictureController) {
|
|
|
-
|
|
|
- if let metadata = self.metadata, let ncplayer = self.ncplayer, !ncplayer.isPlay() {
|
|
|
- NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterShowPlayerToolBar, userInfo: ["ocId": metadata.ocId, "enableTimerAutoHide": false])
|
|
|
- }
|
|
|
- }
|
|
|
-}
|