From cdb0ff5c89825136364bb0efa1d51b6f08fea84a Mon Sep 17 00:00:00 2001 From: Javier Soto Date: Tue, 28 May 2013 11:33:00 -0600 Subject: [PATCH] Using ```objc to better highlight code blocks :) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f006489a..948739ab 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,14 @@ Use `XCDYouTubeVideoPlayerViewController` the same way you use a `MPMoviePlayerV #### Present the video in full-screen -``` +```objc XCDYouTubeVideoPlayerViewController *videoPlayerViewController = [[XCDYouTubeVideoPlayerViewController alloc] initWithVideoIdentifier:@"9bZkp7q19f0"]; [self presentMoviePlayerViewControllerAnimated:videoPlayerViewController]; ``` #### Fetch the video identifier asynchronously -``` +```objc XCDYouTubeVideoPlayerViewController *videoPlayerViewController = [XCDYouTubeVideoPlayerViewController new]; [self presentMoviePlayerViewControllerAnimated:videoPlayerViewController]; @@ -53,7 +53,7 @@ NSURL *url = [NSURL URLWithString:@"https://gdata.youtube.com/feeds/api/standard #### Present the video in a non full-screen view -``` +```objc XCDYouTubeVideoPlayerViewController *videoPlayerViewController = [[XCDYouTubeVideoPlayerViewController alloc] initWithVideoIdentifier:@"9bZkp7q19f0"]; [videoPlayerViewController presentInView:self.videoContainerView]; ``` @@ -70,4 +70,4 @@ Cédric Luthi ## License -XCDYouTubeVideoPlayerViewController is available under the MIT license. See the LICENSE file for more information. \ No newline at end of file +XCDYouTubeVideoPlayerViewController is available under the MIT license. See the LICENSE file for more information.