Latest 1.0.1
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.


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": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    "authors": "Philippe Bernery",
    "source": {
        "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