Latest 1.0.1
Homepage https://github.com/pbernery/PBYouTubeVideoViewController
License MIT
Platforms ios 5.0, requires ARC

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];

Latest podspec

{
    "name": "PBYouTubeVideoViewController",
    "version": "1.0.1",
    "summary": "A view controller that embeds the YouTube iframe HTML 5 player.",
    "description": "  PBYouTubeVideoViewController shows the YouTube iframe HTML 5 video player in a UIWebView.n  PBYouTubeVideoViewController send the player events to a delegate and declares player methods in Objective-C providing an easy way to show a YouTube video in your iOS app.n",
    "homepage": "https://github.com/pbernery/PBYouTubeVideoViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": "Philippe Bernery",
    "source": {
        "git": "https://github.com/pbernery/PBYouTubeVideoViewController.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source_files": "PBYouTubeVideoViewController/Library",
    "resources": "PBYouTubeVideoViewController/Library/PBYouTubeVideoView.html",
    "requires_arc": true
}

Pin It on Pinterest

Share This