|
//
// TPMoviePlayerView.h
// ThePaperBase
//
// Created by zhousan on 16/1/6.
// Copyright © 2016年 scar1900. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol MoviePlayViewDelegate <NSObject>
- (void)playFinish;
@end
@interface TPMoviePlayerView : UIView
@property(nonatomic, weak) id<MoviePlayViewDelegate> delegate;
- (id)initWithFrame:(CGRect)frame contentUrl:(NSURL *)contentUrl andFullScreen:(BOOL)fullScreen andSuperView:(UIView *)superView;
- (void)relayoutSubViewForScreen:(CGRect)rect;
@end
|