Browse files

Updated readme for sample project

  • Loading branch information...
1 parent 6209e49 commit a740ec89f8b4e2395da1716cf20f666b1d220138 Zack Thar committed Feb 20, 2013
Showing with 12 additions and 1 deletion.
  1. +12 −1
@@ -6,6 +6,8 @@ We know how hard making a custom video player is. That is why we created VideoPl
Uses ShareThis to handle sharing. More information can be found
+Use the sample project to see how VideoPlayerKit works.
An example can be seen in [IGN's IPL app](
@@ -14,6 +16,12 @@ An example can be seen in [IGN's IPL app](
+#Using the sample project
+Download the github project and use the Makefile to gather all the pods require for VideoPlayerKit. Use the following command:
+``` objective-c
+Make clean setup
#Installation Instruction:
##In View Controller that will contain the video player:
@@ -35,12 +43,15 @@ setControlsEdgeInsets
If a top view is set, use this to offset the controls so it accounts for the top view. Usually you'll only want to change the edge inset's top parameter but the option is left open to change it entirely.
-###Playing video on player
+###Playing video on inline player
``` objective-c
The method will automatically start playing the video that is given in the url. The title parameter is used for the label that will appear near the bottom of the video player. The videoID and isStreaming parameters are used mainly for analytics tracking. The last parameter, playInFullScreen, is a boolean that when set to YES, the video will play automatically in fullscreen.
+###Playing video on non-inline player
+To play a video on a non-inline player, you must add the video player view controller's view as a subview of the current view. Then you follow the same route as the inline player playVideoWithTitle:URL:videoID:isStreaming:playInFullScreen: to play the video.
###Event tracking

0 comments on commit a740ec8

Please sign in to comment.