// // ZFCustomControlView.h // ZFPlayer_Example // // Created by 紫枫 on 2019/6/5. // Copyright © 2019 紫枫. All rights reserved. // #import #import #import "ZFSpeedLoadingView.h" typedef void(^fullScreenEvent)(NSString *str); typedef void(^bottomBtnEvent)(NSString *str); @interface ZFCustomControlView : UIView @property (nonatomic, copy)fullScreenEvent btnEvent; @property (nonatomic, copy)bottomBtnEvent bottomEvent; /// 控制层自动隐藏的时间,默认2.5秒 @property (nonatomic, assign) NSTimeInterval autoHiddenTimeInterval; /// 控制层显示、隐藏动画的时长,默认0.25秒 @property (nonatomic, assign) NSTimeInterval autoFadeTimeInterval; @property (nonatomic, strong)NSDictionary *playDoc; /** 设置标题、封面、全屏模式 @param title 视频的标题 @param coverUrl 视频的封面,占位图默认是灰色的 @param fullScreenMode 全屏模式 */ - (void)showTitle:(NSString *)title coverURLString:(NSString *)coverUrl fullScreenMode:(ZFFullScreenMode)fullScreenMode; -(void)setFousBtnHide:(BOOL)ishide; @end