forked from changsanjiang/SJVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
更新 #1
Merged
Merged
更新 #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 完善滚动标题 - 完善无网时的处理, 待网络恢复之后自动刷新播放 - 新增了一些通知 - 新增了播放记录的功能 - 为播放器添加了几个判断当前状态的方法 - 为左下角弹框新增了几个方法 - 重构`playbackController`, 增加了`SJMediaPlaybackController`抽象类, 便于后续扩展更多的第三方播放器 - 删除了2倍图
- 播放控制支持 PLPlayerKit 了 - 新增了长按快进功能 - 完善了SJMediaPlaybackController抽象类中对播放状态的处理
- 修复开启后台播放不生效的问题 - 完善保存播放记录的时机
- 新增 `试看功能`. 如试看30秒, 可如此设置 `asset.trialEndPosition = 30;` - 新增 `isPlaybackFinished`. 标识播放完成 - 新增 `finishedReason`. 目前有两种状态: - 正常的观看完毕 - 试看完毕 注: 未启用试看功能时, `isPlaybackFinished` 与 `isPlayedToEndTime`功能一致.
- Added `resetAppearIntervalWhenPerformingItemAction`, 用于控制点击item时是否重置控制层的显示间隔 - Added `showsPromptView` 设置是否在播放器中显示音量或亮度提示视图 - 完善清晰度切换的处理
- Added `resetAppearIntervalWhenPerformingItemAction`, 用于控制点击item时是否重置控制层的显示间隔 - Added `showsPromptView` 设置是否在播放器中显示音量或亮度提示视图 - 完善清晰度切换的处理 - Fix 设置`autoAdjustLayoutWhenDeviceIsiPhoneX`为NO时, 布局错误的问题
原: [UIApplication sharedApplication].keyWindow.rootViewController 获取的不一定是顶层窗口,导致在使用中无法正常全屏。
原: [UIApplication sharedApplication].keyWindow.rootViewController 获取的不一定是顶层窗口,导致在使用中无法正常全屏。
Fix `fitOnScreen` 获取顶层视图在某些情况不正确的问题
- 为区分是用户调用的暂停, 还是开发者暂停的, 增加了`isUserPaused` 标识及`pauseForUser`方法, 当调用`pauseForUser`时, `isUserPaused`将返回 YES - 添加 水印层, 现在可以显示自定义的水印了 - 修复 切换至ijkplayer内存未释放的问题
- 添加 iOS 14 画中画支持 - 修复 iOS 14.0 后台播放失效的问题
添加播放器倍速修改功能
水印功能拓展位置设置
Feat/scroll view mutable video
- 添加 `- [SJPlayModel playableAreaInsets]`. 可以设置可播区域的insets - 添加 `- [SJPlayModel superviewTag]`. 可以多个播放器在同一界面同时播放了 - 添加 `- [SJVideoPlayerPlaybackController requiresLinearPlayback]`. 可以禁止画中画时的快进快退 - 完善 水印视图. 可以调整水印视图的位置及insets了 - 修复 在设置了`pauseWhenAppDidEnterBackground`画中画进入后台后失效的问题
- 修改`Reachability`的依赖, 改为内部直接引用 - 完善hls在14.0进入前台后不播放的问题 - 完善时间item的刷新时机
添加小浮窗初始位置相关属性
- 对`SJAliMediaPlayer`添加清晰度切换的`selectTrack`的支持 - 完善 长按手势结束后使其恢复为触发时的速率 - 小浮窗播放新增了一些配置的属性 - 修复了在全屏模式下弹出的vc, dismiss后异常奔溃的问题 - autoplay in scrollView 新增了一些方法
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.