amis2/examples/components/Video.jsx

13 lines
442 B
React
Raw Normal View History

2019-04-30 11:11:25 +08:00
export default {
2019-05-09 18:25:12 +08:00
"$schema": "https://houtai.baidu.com/v2/schemas/page.json#",
2019-04-30 11:11:25 +08:00
"title": "视频播放器",
"body": [
'<p class="text-danger">另外还支持直播流, flv 和 hls 格式</p>',
{
"type": "video",
"autoPlay": false,
"src": "https://media.w3.org/2010/05/sintel/trailer_hd.mp4",
"poster": "https://video-react.js.org/assets/poster.png"
}
]
}