最近闲来无事写了个小播放器,集成只用三步:
1.用类方法+playerWithFrame实例化YvVideoPlayer
2.添加player到视图中
3.调用实例方法-playWithVideoUrlString:播放网络视频
代码已传到github上了。注释写的比较全,不想自己写的可以看一下
传送门:https://github.com/qazwyw/YVVideoPlayer
最近闲来无事写了个小播放器,集成只用三步:
1.用类方法+playerWithFrame实例化YvVideoPlayer
2.添加player到视图中
3.调用实例方法-playWithVideoUrlString:播放网络视频
代码已传到github上了。注释写的比较全,不想自己写的可以看一下
传送门:https://github.com/qazwyw/YVVideoPlayer