mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Watch next view
This commit is contained in:
@@ -322,6 +322,8 @@ final class PlayerModel: ObservableObject {
|
||||
func play(_ video: Video, at time: CMTime? = nil, showingPlayer: Bool = true) {
|
||||
pause()
|
||||
|
||||
WatchNextViewModel.shared.presentingOutro = false
|
||||
|
||||
var changeBackendHandler: (() -> Void)?
|
||||
|
||||
if let backend = (live && forceAVPlayerForLiveStreams) ? PlayerBackendType.appleAVPlayer :
|
||||
@@ -569,7 +571,7 @@ final class PlayerModel: ObservableObject {
|
||||
}
|
||||
|
||||
func closeCurrentItem(finished: Bool = false) {
|
||||
controls.hide()
|
||||
controls.presentingControls = false
|
||||
pause()
|
||||
closePiP()
|
||||
|
||||
|
Reference in New Issue
Block a user