mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-31 06:48:37 +00:00
Update MediaInfoView.swift
This commit is contained in:
parent
fa65ff7740
commit
479e83420e
1 changed files with 2 additions and 2 deletions
|
|
@ -1373,7 +1373,7 @@ struct MediaInfoView: View {
|
|||
videoPlayerViewController.mediaTitle = title
|
||||
videoPlayerViewController.subtitles = subtitles ?? ""
|
||||
videoPlayerViewController.aniListID = itemID ?? 0
|
||||
videoPlayerViewController.modalPresentationStyle = .overFullScreen
|
||||
videoPlayerViewController.modalPresentationStyle = .fullScreen
|
||||
|
||||
presentPlayerWithDetachedContext(videoPlayerViewController: videoPlayerViewController)
|
||||
return
|
||||
|
|
@ -1410,7 +1410,7 @@ struct MediaInfoView: View {
|
|||
episodeImageUrl: selectedEpisodeImage,
|
||||
headers: headers ?? nil
|
||||
)
|
||||
customMediaPlayer.modalPresentationStyle = .overFullScreen
|
||||
customMediaPlayer.modalPresentationStyle = .fullScreen
|
||||
Logger.shared.log("Opening custom media player with stream URL: \(url), and subtitles URL: \(String(describing: subtitles))", type: "Stream")
|
||||
|
||||
presentPlayerWithDetachedContext(customMediaPlayer: customMediaPlayer)
|
||||
|
|
|
|||
Loading…
Reference in a new issue