- 授权协议: Apache
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/zhanjiarong/JRVideoPlayer
软件介绍
Overview
JRVideoPlayer, 是一个基于AVFoundation框架的视频播放器,支持常见视频格式和HTTP Live Streaming视频流。播放器是根据苹果官方文档《AVFoundation Programming Guide》写的。
代码控制了默认只允许横屏播放。
上下滑动屏幕左1/3是调亮度,下下滑动屏幕右1/3是调音量,但是只有在真机下才有效果。左右滑动中间1/3是快进快退。
使用方法
1.将JRVideoPlayerViewController文件夹放到工程中,导入"JRPlayerViewController.h" 2.播放本地视频 JRPlayerViewController *playerVC = [[JRPlayerViewController alloc] initWithLocalMediaURL:url]; 3.播放HTTPLiveStreaming视频 JRPlayerViewController *playerVC = [[JRPlayerViewController alloc] initWithHTTPLiveStreamingMediaURL:url];
详情看Demo,可以结合《AVFoundation Programming Guide》来看。
APIs
Daniel Jacobson、Greg Brail、Dan Woods / O'Reilly Media / 2011-12-24 / USD 24.99
Many of the highest traffic sites get more than half of their traffic not through the browser but through the APIs they have created. Salesforce.com (more than 50%) and Twitter (more than 75% fall int......一起来看看 《APIs》 这本书的介绍吧!
