//
//  UIViewController+VideoPlayer.h
//  Gengmei
//
//  Created by wangyang on 2017/1/6.
//  Copyright © 2017年 更美互动信息科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GMPlayerView.h"
#import "GMVideoObject.h"

@interface UIViewController (VideoPlayer)

@property (nonatomic, copy) NSString * (^videoPlayViewFrom) (void);

@property (nonatomic, strong) GMPlayerView *player;
// 埋点使用
@property (nonatomic, copy) NSString *tabName;
@property (nonatomic, copy) NSString *tagId;

// 是否全屏
@property (nonatomic, assign) BOOL isFullScreen;

- (void)playVideo:(GMVideoObject *)video animationStartRect:(CGRect)rect;

@end
