Created
September 17, 2016 05:56
-
-
Save RameshAran/f6c97dd1bb951293c93457f142628717 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDictionary *playerVars = @{@"playsinline" : @1,}; | |
if([self.mYTPlayerView loadWithVideoId:@"M7lc1UVf-VE" playerVars:playerVars]) | |
{ | |
self.mYTPlayerView.delegate = self; | |
} | |
else | |
{ | |
NSLog(@"failed loading player"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Load video with youtube id.