Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

播放地址

fengxing edited this page Sep 19, 2018 · 1 revision

接口文件

SuperPlayerModel

播放器支持2种播放方式

1. 传入地址

示例代码

SuperPlayerModel *model = [SuperPlayerModel new];
model.videoURL = @"http://200024424.vod.myqcloud.com/200024424_709ae516bdf811e6ad39991f76a4df69.f20.mp4";

videoURL支持多种格式,包括mp4、hls、mp3、aac点播文件,也支持rtmp、flv直播地址。

2. FileId

fileid是腾讯云的点播文件id,SuperPlayerModel提供快捷播放入口

model.appId = 1252463788;
model.fileId = @"4564972819219071679";

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /