|
@@ -127,6 +127,8 @@ class NCPlayerToolBar: UIView {
|
|
|
self.viewerMediaPage = viewerMediaPage
|
|
|
}
|
|
|
|
|
|
+ playerView(hidden: true)
|
|
|
+
|
|
|
playButton.setImage(NCUtility.shared.loadImage(named: "play.fill", color: .white, symbolConfiguration: UIImage.SymbolConfiguration(pointSize: pointSize)), for: .normal)
|
|
|
MPNowPlayingInfoCenter.default().nowPlayingInfo?[MPNowPlayingInfoPropertyPlaybackRate] = 0
|
|
|
|
|
@@ -167,6 +169,11 @@ class NCPlayerToolBar: UIView {
|
|
|
self.audioButton.isEnabled = !audioTrackIndexes.isEmpty
|
|
|
}
|
|
|
|
|
|
+ public func playerView(hidden: Bool) {
|
|
|
+
|
|
|
+ playerButtonView.isHidden = hidden
|
|
|
+ }
|
|
|
+
|
|
|
// MARK: -
|
|
|
|
|
|
public func show() {
|