<p align="center">
<img src="https://upload-images.jianshu.io/upload_images/635942-092427e571756309.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="ZFPlayer" title="ZFPlayer" width="557"/>
</p>
<p align="center">
<a href="https://img.shields.io/cocoapods/v/ZFPlayer.svg"><img src="https://img.shields.io/cocoapods/v/ZFPlayer.svg"></a>
<a href="https://img.shields.io/github/license/renzifeng/ZFPlayer.svg?style=flat"><img src="https://img.shields.io/github/license/renzifeng/ZFPlayer.svg?style=flat"></a>
<a href="http://cocoadocs.org/docsets/ZFPlayer"><img src="https://img.shields.io/cocoapods/p/ZFPlayer.svg?style=flat"></a>
<a href="http://weibo.com/zifeng1300"><img src="https://img.shields.io/badge/weibo-@%E4%BB%BB%E5%AD%90%E4%B8%B0-yellow.svg?style=flat"></a>
</p>
[ä¸æè¯´æ](https://www.jianshu.com/p/90e55deb4d51)
[ZFPlayer 转å±éé
](https://github.com/renzifeng/ZFPlayer/wiki/%E8%BD%AC%E5%B1%8F%E9%80%82%E9%85%8D)
Before this, you used ZFPlayer, are you worried about encapsulating avplayer instead of using or modifying the source code to support other players, the control layer is not easy to customize, and so on? In order to solve these problems, I have wrote this player template, for player SDK you can conform the `ZFPlayerMediaPlayback` protocol, for control view you can conform the `ZFPlayerMediaControl` protocol, can custom the player and control view.

## ð¨ Requirements
- iOS 7+
- Xcode 8+
## ð² Installation
ZFPlayer is available through [CocoaPods](https://cocoapods.org). To install it,use player template simply add the following line to your Podfile:
```objc
pod 'ZFPlayer', '~> 4.0'
```
Use default controlView simply add the following line to your Podfile:
```objc
pod 'ZFPlayer/ControlView', '~> 4.0'
```
Use AVPlayer simply add the following line to your Podfile:
```objc
pod 'ZFPlayer/AVPlayer', '~> 4.0'
```
Use ijkplayer simply add the following line to your Podfile:
```objc
pod 'ZFPlayer/ijkplayer', '~> 4.0'
```
[IJKMediaFramework SDK](https://gitee.com/renzifeng/IJKMediaFramework) support cocoapods
## ð Usage
#### ZFPlayerController
Main classes,normal style initialization and list style initialization (tableView, collection,scrollView)
Normal style initialization
```objc
ZFPlayerController *player = [ZFPlayerController playerWithPlayerManager:playerManager containerView:containerView];
ZFPlayerController *player = [[ZFPlayerController alloc] initwithPlayerManager:playerManager containerView:containerView];
```
List style initialization
```objc
ZFPlayerController *player = [ZFPlayerController playerWithScrollView:tableView playerManager:playerManager containerViewTag:containerViewTag];
ZFPlayerController *player = [ZFPlayerController alloc] initWithScrollView:tableView playerManager:playerManager containerViewTag:containerViewTag];
ZFPlayerController *player = [ZFPlayerController playerWithScrollView:scrollView playerManager:playerManager containerView:containerView];
ZFPlayerController *player = [ZFPlayerController alloc] initWithScrollView:tableView playerManager:playerManager containerView:containerView];
```
#### ZFPlayerMediaPlayback
For the playerMnager,you must conform `ZFPlayerMediaPlayback` protocol,custom playermanager can supports any player SDKï¼such as `AVPlayer`,`MPMoviePlayerController`,`ijkplayer`,`vlc`,`PLPlayerKit`,`KSYMediaPlayer`and so onï¼you can reference the `ZFAVPlayerManager`class.
```objc
Class<ZFPlayerMediaPlayback> *playerManager = ...;
```
#### ZFPlayerMediaControl
This class is used to display the control layer, and you must conform the ZFPlayerMediaControl protocol, you can reference the `ZFPlayerControlView` class.
```objc
UIView<ZFPlayerMediaControl> *controlView = ...;
player.controlView = controlView;
```
## ð· Screenshots

## Reference
- [ijkplayer](https://github.com/Bilibili/ijkplayer)
- [SJVideoPlayer](https://github.com/changsanjiang/SJVideoPlayer)
## ð¨ð»âð» Author
- Weibo: [@ä»»å丰](https://weibo.com/zifeng1300)
- Email: [email protected]
- QQ群: 123449304
## ð®ð» License
ZFPlayer is available under the MIT license. See the LICENSE file for more info.
没有合适的资源?快使用搜索试试~ 我知道了~
swift实现的iOS视频播放器,支持滑动调节音量亮度,拖动调整进度,倍速播放等

共421个文件
h:33个
swift:30个
m:25个


温馨提示
BLVideoPlayer是一款swift实现的、具有亮度调节、音量调节、拖动快进、横竖屏切换以及竖屏时上下滑动切换视频的功能,代码封装在framework中,方便调用。 更多描述,请参考博文 http://t.csdn.cn/0HBe9
资源推荐
资源详情
资源评论






















收起资源包目录





































































































共 421 条
- 1
- 2
- 3
- 4
- 5
资源评论

- wh_mouse2024-12-23demo跑不起来,BlVideoPlayer未适配最新版的Xcode #有所限制 #版本老旧

生命不止,奋斗不息
- 粉丝: 9
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 基于Java语言的网络操作系统.docx
- 基于工作过程的中职计算机网络技术课程教学探讨.docx
- 中职《计算机网络基础》有效教学方法的探讨.docx
- 《软件工程》实验书修订.doc
- 现代通信技术概论-作者-崔健双-习题参考答案.doc
- 图书管理数据库设计说明书.doc
- hc杯网络技术大赛预选赛测试试题.doc
- 通信工程勘察安全操作规程和设计安全注意事项.ppt
- VB多点温度采集系统上位机软件设计.doc
- 电气自动化测量设备的技术原理与应用.docx
- MATLAB系统模型建立和动态特性研究分析实验.doc
- Windows下如何安装及配置IIS-ASP-PHP.docx
- 试析互联网与气象服务的融合与发展.docx
- 基于云计算技术在中职机房管理中的应用分析.docx
- 基于SDN的云计算安全存在的问题及对策.docx
- JAVA毕业设计方案论文题目大全.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
