测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可证 | MIT |
发布时间最新版本 | 2014年12月 |
由 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];