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