Commit 19478f5a authored by Steven杜宇's avatar Steven杜宇

// 滑动改变视频播放进度

parent 7045324f
...@@ -49,8 +49,7 @@ class YHVideoPlayerVC: YHBaseViewController { ...@@ -49,8 +49,7 @@ class YHVideoPlayerVC: YHBaseViewController {
// enable setting the volume by touch gesture in the player // enable setting the volume by touch gesture in the player
BMPlayerConf.enableVolumeGestures = false BMPlayerConf.enableVolumeGestures = false
// enable setting the playtime by touch gesture in the player // enable setting the playtime by touch gesture in the player
BMPlayerConf.enablePlaytimeGestures = false BMPlayerConf.enablePlaytimeGestures = true
let player = BMPlayer(customControlView: videoControlView) let player = BMPlayer(customControlView: videoControlView)
return player return player
}() }()
...@@ -96,6 +95,7 @@ class YHVideoPlayerVC: YHBaseViewController { ...@@ -96,6 +95,7 @@ class YHVideoPlayerVC: YHBaseViewController {
NotificationCenter.default.addObserver(self, selector: #selector(loginSuccess), name: YhConstant.YhNotification.didLoginSuccessNotifiction, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(loginSuccess), name: YhConstant.YhNotification.didLoginSuccessNotifiction, object: nil)
gk_navigationBar.isHidden = true gk_navigationBar.isHidden = true
self.navigationController?.interactivePopGestureRecognizer?.isEnabled = false
view.backgroundColor = .black view.backgroundColor = .black
view.addSubview(navBar) view.addSubview(navBar)
setupLikeAndCollectUI() setupLikeAndCollectUI()
......
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