You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.8 KiB
Objective-C
80 lines
2.8 KiB
Objective-C
//
|
|
// SPDefaultControlView.h
|
|
// SuperPlayer
|
|
//
|
|
// Created by annidyfeng on 2018/9/30.
|
|
//
|
|
|
|
#import "SuperPlayerControlView.h"
|
|
|
|
@interface SPDefaultControlView : SuperPlayerControlView
|
|
|
|
|
|
/** 标题 */
|
|
@property (nonatomic, strong) UILabel *titleLabel;
|
|
/** 开始播放按钮 */
|
|
@property (nonatomic, strong) UIButton *startBtn;
|
|
/** 当前播放时长label */
|
|
@property (nonatomic, strong) UILabel *currentTimeLabel;
|
|
/** 视频总时长label */
|
|
@property (nonatomic, strong) UILabel *totalTimeLabel;
|
|
/** 全屏按钮 */
|
|
@property (nonatomic, strong) UIButton *fullScreenBtn;
|
|
/** 锁定屏幕方向按钮 */
|
|
@property (nonatomic, strong) UIButton *lockBtn;
|
|
|
|
/** 返回按钮*/
|
|
@property (nonatomic, strong) UIButton *backBtn;
|
|
/// 是否禁用返回
|
|
@property (nonatomic) BOOL disableBackBtn;
|
|
/** bottomView*/
|
|
@property (nonatomic, strong) UIImageView *bottomImageView;
|
|
/** topView */
|
|
@property (nonatomic, strong) UIImageView *topImageView;
|
|
/** 弹幕按钮 */
|
|
@property (nonatomic, strong) UIButton *danmakuBtn;
|
|
/// 是否禁用弹幕
|
|
@property (nonatomic) BOOL disableDanmakuBtn;
|
|
/** 截图按钮 */
|
|
@property (nonatomic, strong) UIButton *captureBtn;
|
|
/// 是否禁用截图
|
|
@property (nonatomic) BOOL disableCaptureBtn;
|
|
/** 更多按钮 */
|
|
@property (nonatomic, strong) UIButton *moreBtn;
|
|
/// 是否禁用更多
|
|
@property (nonatomic) BOOL disableMoreBtn;
|
|
/** 切换分辨率按钮 */
|
|
@property (nonatomic, strong) UIButton *resolutionBtn;
|
|
/** 分辨率的View */
|
|
@property (nonatomic, strong) UIView *resolutionView;
|
|
/** 播放按钮 */
|
|
@property (nonatomic, strong) UIButton *playeBtn;
|
|
/** 加载失败按钮 */
|
|
@property (nonatomic, strong) UIButton *middleBtn;
|
|
|
|
/** 当前选中的分辨率btn按钮 */
|
|
@property (nonatomic, weak ) UIButton *resoultionCurrentBtn;
|
|
|
|
/** 分辨率的名称 */
|
|
@property (nonatomic, strong) NSArray<NSString *> *resolutionArray;
|
|
/** 更多设置View */
|
|
@property (nonatomic, strong) SuperPlayerSettingsView *moreContentView;
|
|
/** 返回直播 */
|
|
@property (nonatomic, strong) UIButton *backLiveBtn;
|
|
|
|
/// 画面比例
|
|
@property CGFloat videoRatio;
|
|
|
|
/** 滑杆 */
|
|
@property (nonatomic, strong) PlayerSlider *videoSlider;
|
|
|
|
/** 重播按钮 */
|
|
@property (nonatomic, strong) UIButton *repeatBtn;
|
|
|
|
/** 是否全屏播放 */
|
|
@property (nonatomic, assign,getter=isFullScreen)BOOL fullScreen;
|
|
@property (nonatomic, assign,getter=isLockScreen)BOOL isLockScreen;
|
|
@property (nonatomic, strong) UIButton *pointJumpBtn;
|
|
|
|
@end
|