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