mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 04:28:32 +08:00
14 lines
480 B
JavaScript
14 lines
480 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],
|
|
"src": "https://media.w3.org/2010/05/sintel/trailer_hd.mp4",
|
|
"poster": "https://video-react.js.org/assets/poster.png"
|
|
}
|
|
]
|
|
} |