mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-10 17:48:44 +08:00
24 lines
631 B
JavaScript
24 lines
631 B
JavaScript
export default {
|
|
$schema: 'https://houtai.baidu.com/v2/schemas/page.json#',
|
|
title: '视频播放器',
|
|
body: [
|
|
'<p class="text-danger">另外还支持直播流, flv 和 hls 格式</p>',
|
|
{
|
|
type: 'video',
|
|
autoPlay: false,
|
|
rates: [1.0, 1.5, 2.0],
|
|
jumpFrame: true,
|
|
jumpBufferDuration: 5,
|
|
frames: {
|
|
'00:10': '',
|
|
'00:20': '',
|
|
'00:30': ''
|
|
},
|
|
src:
|
|
'https://amis.bj.bcebos.com/amis/2019-12/1577157317579/trailer_hd.mp4',
|
|
poster:
|
|
'https://internal-amis-res.cdn.bcebos.com/images/2019-12/1577157239810/da6376bf988c.png'
|
|
}
|
|
]
|
|
};
|