Commit 1ec7256c by Tianqing Liu

feat: 增加水印功能

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