BUPlayerItem.h
995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// BUPlayerItem.h
// BUAdSDK
//
// Created by hlw on 2017/12/21.
// Copyright © 2017年 bytedance. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface BUPlayerItem : NSObject
/**
* 视频标题
*/
@property (nonatomic, copy) NSString *title;
/**
* 视频URL
*/
@property (nonatomic, strong, nonnull) NSURL *videoURL;
/**
* 视频文件md5,区分是否为同一个视频
*/
@property (nonatomic, copy) NSString *videoFileHash;
/**
* 视频封面本地图片
*/
@property (nonatomic, strong) UIImage *placeholderImage;
/**
* 视频封面网络图片url
* 如果和本地图片同时设置,则忽略本地图片,显示网络图片
*/
@property (nonatomic, copy) NSString *placeholderImageURLString;
/**
默认图的展示形式
*/
@property (nonatomic, assign) UIViewContentMode placeholderImageContentMode;
/**
* 从xx秒开始播放视频(默认0)
*/
@property (nonatomic, assign) NSInteger seekTime;
@end
NS_ASSUME_NONNULL_END