PBYouTubeVideoViewController 1.0.1

PBYouTubeVideoViewController 1.0.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布时间最新版本2014年12月

Philippe Bernery 维护。



  • Philippe Bernery

PBYouTubeVideoViewController 是一个可以嵌入 YouTube iframe HTML 5 播放器的视图控制器。

它由一个 UIWebView 组成,用于加载 YouTube API 并在视图中垂直居中显示播放器。

播放器事件将传递给代理,并且通过控制器可以实现一些播放器操作。

它遵循 MIT 许可。

使用

PBYouTubeVideoViewController *viewController = [[PBYouTubeVideoViewController alloc] initWithVideoId:@"<YouTube_video_id>"];
[self presentViewController:viewController animated:YES completion:NULL];