Skip to content

kukosk/PBYouTubeVideoViewController

 
 

Repository files navigation

PBYouTubeVideoViewController

PBYouTubeVideoViewController is a view controller that embeds the YouTube iframe HTML 5 player.

It is composed of a UIWebView which loads the YouTube API and shows the player centered vertically in the view.

Player events are passed to a delegate and some player actions are available through the controller.

It is licensed under the MIT License.

Usage

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

About

A view controller that embeds the YouTube iframe HTML 5 player.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 67.2%
  • HTML 26.3%
  • Ruby 6.5%