Commit 3456206f by Tianqing Liu

feat: 优化组件属性

1 parent 6b7f5c2c
......@@ -9,18 +9,10 @@ import { getWatermarkCanvasImg } from './utils';
export default {
name: 'VionPlayer',
props: {
type: {
type: String,
default: 'live', // playback
},
playUrl: {
type: String,
default: '', // 若配置,则播放器加载后,自动播放
},
datetimeRange: {
type: Array,
default: null,
},
watermarkText: {
type: String,
default: '',
......@@ -208,6 +200,8 @@ export default {
<style lang="scss" scoped>
.vion-player {
height: 100%;
widows: 100%;
background-color: rgba(13, 14, 27, 0.7);
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!