2016-03-31 15:10:25 -06:00
|
|
|
//
|
|
|
|
// RCTVideoPlayerViewController.h
|
|
|
|
// RCTVideo
|
|
|
|
//
|
|
|
|
// Created by Stanisław Chmiela on 31.03.2016.
|
|
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <AVKit/AVKit.h>
|
|
|
|
#import "RCTVideo.h"
|
2016-04-01 02:51:31 -06:00
|
|
|
#import "RCTVideoPlayerViewControllerDelegate.h"
|
2016-03-31 15:10:25 -06:00
|
|
|
|
|
|
|
@interface RCTVideoPlayerViewController : AVPlayerViewController
|
2016-04-01 03:13:01 -06:00
|
|
|
@property (nonatomic, weak) id<RCTVideoPlayerViewControllerDelegate> rctDelegate;
|
2018-08-09 10:58:03 -06:00
|
|
|
|
|
|
|
// Optional paramters
|
|
|
|
@property (nonatomic, weak) NSString* preferredOrientation;
|
|
|
|
@property (nonatomic) BOOL autorotate;
|
|
|
|
|
2016-03-31 15:10:25 -06:00
|
|
|
@end
|