MoviePlayerViewController.h 468 B

12345678910111213141516171819202122232425
  1. //
  2. // MoviePlayerViewController.h
  3. // LenzCameraNativeModuleForRN
  4. //
  5. // Created by 王昭威 on 2023/1/24.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "LenzHeader.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface MoviePlayerViewController : UIViewController
  11. @property (nonatomic, weak) IBOutlet UIView* videoView;
  12. @property (nonatomic, strong) AVPlayer* player;
  13. @property (nonatomic, strong) NSURL* movieFileURL;
  14. - (void)replaceWith: (NSURL*)fileURL;
  15. @end
  16. NS_ASSUME_NONNULL_END