2015-04-06 13:17:32 -06:00
|
|
|
#import "RCTView.h"
|
2015-12-22 16:39:04 -07:00
|
|
|
#import <AVFoundation/AVFoundation.h>
|
|
|
|
#import "AVKit/AVKit.h"
|
2016-03-31 13:03:54 -06:00
|
|
|
#import "UIView+FindUIViewController.h"
|
2016-03-31 15:10:25 -06:00
|
|
|
#import "RCTVideoPlayerViewController.h"
|
2015-04-06 13:17:32 -06:00
|
|
|
|
|
|
|
@class RCTEventDispatcher;
|
2015-03-30 23:07:55 -06:00
|
|
|
|
|
|
|
@interface RCTVideo : UIView
|
|
|
|
|
2015-04-06 13:17:32 -06:00
|
|
|
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
|
|
|
|
|
2015-12-22 16:39:04 -07:00
|
|
|
- (AVPlayerViewController*)createPlayerViewController:(AVPlayer*)player withPlayerItem:(AVPlayerItem*)playerItem;
|
2016-03-31 15:10:25 -06:00
|
|
|
- (void)setFullscreen:(BOOL)fullscreen;
|
2015-12-22 16:39:04 -07:00
|
|
|
|
2015-03-30 23:07:55 -06:00
|
|
|
@end
|