We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
必现/偶发? 必现
Demo中是否存在同样的问题? 是
你期望的结果是什么? 在列表中不要发生旋转全屏播放,只有我点击cell全屏后允许旋转
运行环境 所有
截图
额外的 SJUITableViewDemoViewController8中的代码,修改为不能播放url必现 `- (void)sj_playerNeedPlayNewAssetAtIndexPath:(NSIndexPath *)indexPath { SJVideoCellViewModel *vm = _models[indexPath.row];
if ( !_player ) { _player = [SJVideoPlayer player]; _player.needsFitOnScreenFirst = YES; // 2. 再设置竖屏全屏后, 允许播放器旋转; _player.allowsRotationInFitOnScreen = YES; } vm.url = [NSURL URLWithString:@"https://news/1607682633450.mp4"]; _player.URLAsset = [[SJVideoPlayerURLAsset alloc] initWithURL:vm.url playModel:[SJPlayModel playModelWithTableView:_tableView indexPath:indexPath superviewSelector:NSSelectorFromString(@"coverImageView")]]; _player.URLAsset.title = vm.mediaTitle.string;
}`
The text was updated successfully, but these errors were encountered:
正常能播放或加载中的视频不会发生旋转
Sorry, something went wrong.
No branches or pull requests
必现/偶发?
必现
Demo中是否存在同样的问题?
是
你期望的结果是什么?
在列表中不要发生旋转全屏播放,只有我点击cell全屏后允许旋转
运行环境
所有
截图
额外的
SJUITableViewDemoViewController8中的代码,修改为不能播放url必现
`- (void)sj_playerNeedPlayNewAssetAtIndexPath:(NSIndexPath *)indexPath {
SJVideoCellViewModel *vm = _models[indexPath.row];
}`
The text was updated successfully, but these errors were encountered: