14 lines
367 B
Objective-C
14 lines
367 B
Objective-C
#import "RCTView.h"
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#import "AVKit/AVKit.h"
|
|
|
|
@class RCTEventDispatcher;
|
|
|
|
@interface RCTVideo : UIView
|
|
|
|
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (AVPlayerViewController*)createPlayerViewController:(AVPlayer*)player withPlayerItem:(AVPlayerItem*)playerItem;
|
|
|
|
@end
|