Commit 1ec7256c by Tianqing Liu

feat: 增加水印功能

1 parent 57cb2b09
......@@ -3,6 +3,8 @@
</template>
<script>
import { watermarkBase64 } from './data';
export default {
name: 'VionPlayer',
data() {
......@@ -32,6 +34,15 @@ export default {
controlAutoHide: false,
supportDblclickFullscreen: false,
showBandwidth: false, // 显示网速
watermarkConfig: {
image: {
src: watermarkBase64,
width: 150,
height: 48
},
right: 10,
top: 30
},
operateBtns: {
fullscreen: true,
screenshot: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!