BMPlayer
BMPlayer copied to clipboard
关于工程只支持横屏导致全屏失效
若工程只支持竖屏的话全屏会失效,UIDevice.current.setValue的方法失效导致isFullScreen的getter方法只返回false故全屏方法失效。另外当把player加载到控件(例如cell)里点击全屏方法只是让控件所在的VC变成了横屏模式并没有实现视频窗口全屏。提个小小建议把player全屏时发上Windows层以解决这个问题。
请问最后这种情况是怎么解决的呢,项目不需要横屏模式,禁止了之后,点击全屏功能就失效了
加到 window 层这个做法我不太认同,目前解决办法要么直接用 BLPlayerLayer 自己实现上层 UI 逻辑。要么就让项目支持横屏
嗯,感谢,最后使用了代码控制页面是否支持横屏
关于使用BMPlayLayer的上级逻辑您这边的实现方法是?
| | Vilson 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2018年01月31日 15:45,BrikerMan 写道:
加到 window 层这个做法我不太认同,目前解决办法要么直接用 BLPlayerLayer 自己实现上层 UI 逻辑。要么就让项目支持横屏
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
我没有设置BMPlayLayer的逻辑,我只是设置了使用BMPlayer的页面可以横屏,其他页面禁止横屏
直接旋转屏幕局限性太大 不能解决cell中全屏播放
| | Vilson 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2018年03月08日 12:33,wongwenlei 写道:
我没有设置BMPlayLayer的逻辑,我只是设置了使用BMPlayer的页面可以横屏,其他页面禁止横屏
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
请问会有什么问题呢
具体你可自己实现就会发现问题
| | Vilson 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2018年03月08日 13:53,wongwenlei 写道:
请问会有什么问题呢
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
我目前就是这样用的
请把具体demo发出
| | Vilson 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2018年03月08日 13:56,wongwenlei 写道:
我目前就是这样用的
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
没有demo,就直接用在项目里了,使用的也不是这个框架是VGPlayer,但他们原理应该一样的
具体我要看看VGPlayer 原理可能不一样
| | Vilson 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2018年03月08日 14:01,wongwenlei 写道:
没有demo,就直接用在项目里了,使用的也不是这个框架是VGPlayer,但他们原理应该一样的
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.