mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 12:23:06 +08:00
Merge branch 'koogua/fix-live' into demo
This commit is contained in:
commit
4ffa59d989
@ -33,13 +33,12 @@
|
||||
var options = {
|
||||
live: true,
|
||||
autoplay: true,
|
||||
h5_flv: true,
|
||||
width: 720,
|
||||
height: 405
|
||||
};
|
||||
|
||||
var playUrls = JSON.parse('{{ pull_urls|json_encode }}');
|
||||
var formats = ['rtmp', 'flv', 'm3u8'];
|
||||
var formats = ['m3u8'];
|
||||
var rates = ['od', 'hd', 'sd'];
|
||||
|
||||
$.each(formats, function (i, format) {
|
||||
|
@ -76,7 +76,7 @@
|
||||
type: 2,
|
||||
title: '拉流测试',
|
||||
resize: false,
|
||||
area: ['720px', '445px'],
|
||||
area: ['720px', '456px'],
|
||||
content: [url, 'no']
|
||||
});
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ layui.use(['jquery', 'layer'], function () {
|
||||
type: 2,
|
||||
title: '媒体播放器',
|
||||
resize: false,
|
||||
area: ['720px', '445px'],
|
||||
area: ['720px', '456px'],
|
||||
content: [frameUrl, 'no']
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user