Commit 083d76a7 by Tianqing Liu

feat: 水印功能示例

1 parent 8602ff12
......@@ -4,8 +4,10 @@
<j-player ref="jplay"
:type="playerType"
prefix-url=""
channel-id="20000000001310000011"
player-address="52.130.155.147"
channel-id="20000000001310000008"
:datetime-range="datetimeRange"
watermarkText="方案智能"
/>
</div>
<div class="footer">
......@@ -43,8 +45,9 @@ export default {
];
},
handleScreenshot() {
const imgData = this.$refs.jplay.screenshot();
console.log('handleScreenshot', imgData);
this.$refs.jplay.screenshotWatermark().then(data => {
console.log('handleScreenshot', data);
});
},
handleStop() {
const result = this.$refs.jplay.stopPlay();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!