Commit a75ba694 authored by Alex朱枝文's avatar Alex朱枝文

录播跳商品页崩溃修复

parent f3cbeea2
......@@ -280,6 +280,7 @@ class YHPlayerManager: NSObject {
}
let playerVC = YHVODPlayerViewController(id: playbackInfo.id, url: playbackInfo.url, title: playbackInfo.title)
let navVC = YHNavigationController(rootViewController: playerVC)
currentPlaybackInfo[playerType] = updatedInfo
let player = player(for: playerType)
......@@ -295,7 +296,7 @@ class YHPlayerManager: NSObject {
player.play(url: url, title: playbackInfo.title, view: playerVC.playerView)
}
present(playerVC, from: sourceView)
present(navVC, from: sourceView)
}
func enterLive(from sourceView: UIView?, playbackInfo: PlaybackInfo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment