PBJVideoPlayer 0.3.3

PBJVideoPlayer 0.3.3

测试已测试
Lang语言 Obj-CObjective C
许可协议 MIT
发行上次发布2016年8月

nathan spindelpatrick piemonte 维护。




PBJVideoPlayer 是一个用于 iOS 和 tvOS 的简单视频播放库。

特性

  • [x] 播放本地媒体或通过 HTTP 流媒体
  • [x] 可定制的 UI 和用户交互
  • [x] 没有大小限制
  • [x] 支持有方向变更
  • [x] 简单的 API

如果您正在寻找用 Swift 编写的视频播放器,请查看 Player。对于视频录制,请查看 PBJVision

安装

CocoaPods 是推荐安装 PBJVideoPlayer 的方法,只需将以下行添加到您的 Podfile

pod 'PBJVideoPlayer'

用法

#import <PBJVideoPlayer/PBJVideoPlayer.h>
// allocate controller
PBJVideoPlayerController *videoPlayerController = [[PBJVideoPlayerController alloc] init];
videoPlayerController.delegate = self;
videoPlayerController.view.frame = self.view.bounds;

// setup media
videoPlayerController.videoPath = @"https://example.com/video.mp4";

// present
[self addChildViewController:videoPlayerController];
[self.view addSubview:videoPlayerController.view];
[videoPlayerController didMoveToParentViewController:self];

社区

  • 需要帮助?请使用 Stack Overflow 并使用 'pbjvideoplayer' 标签。
  • 有问题?请使用 Stack Overflow 并使用 'pbjvideoplayer' 标签。
  • 发现了 bug?请打开 issue
  • 有功能想法?请打开 issue
  • 想要贡献代码?请提交 pull request

资源

许可协议

PBJVideoPlayer 在 MIT 许可协议下可用,请参阅 LICENSE 文件以获取更多信息。