blizzard-op / VideoPlayerKit

MIT License
808 stars 252 forks source link

Inline player, IGN MainViewController #10

Open ShapesGraphicStudio opened 11 years ago

ShapesGraphicStudio commented 11 years ago

Hello,

First, this player looks great ! Exactly what I need. I managed to make a project work with the player, with the github files. On app main view I have blank view with the button to launch video, it works fine.

But I'm looking for some help / code / example to have the same view than the first snapshot : the inline / embedded player with video controls, and table view beneath.

Do you know where I could find some help, files or tips ? I made some tries, but can't get it done.

Hoping for answers, Best regards.

ShapesGraphicStudio commented 11 years ago

Here's what my main view files look like :

// ViewController.h

import <UIKit/UIKit.h>

import "VideoPlayerKit.h"

@interface ViewController : UIViewController

@property (nonatomic) BOOL fullScreenToggled;

@end

// ViewController.m

import "ViewController.h"

@interface ViewController ()

@property (nonatomic, strong) VideoPlayerKit *ViewController;

@end

@implementation ViewController

// Fullscreen / minimize without need for user's input

}

@end

Anyone any idea of what I'm missing here ? Or what I'm doing wrong ?

Hoping for answers, Best regards.