Commit df58ab59 by Tianqing Liu

feat: 优化水印属性名称

1 parent 09e6edb5
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<j-player ref="jplay" <j-player ref="jplay"
:type="playerType" :type="playerType"
:prefix-url="params.prefixUrl" :prefix-url="params.prefixUrl"
:watermark="params.watermark" :watermark-text="params.watermark"
:player-address="params.address" :player-address="params.address"
:channel-id="params.channelId" :channel-id="params.channelId"
:datetime-range="datetimeRange" :datetime-range="datetimeRange"
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<videoTime ref="videoTime" @videoTimeChange="videoTimeChange" @ptzControlClick="ptzControlClick" @ptzControlStop="ptzControlStop"/> <videoTime ref="videoTime" @videoTimeChange="videoTimeChange" @ptzControlClick="ptzControlClick" @ptzControlStop="ptzControlStop"/>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
address: '52.130.155.147', address: '52.130.155.147',
prefixUrl: '', prefixUrl: '',
watermark: '', watermark: '',
}, },
} }
}, },
...@@ -70,8 +70,8 @@ export default { ...@@ -70,8 +70,8 @@ export default {
ptzControlStop() { ptzControlStop() {
// this.$refs.jplay.ptzController('stop'); // this.$refs.jplay.ptzController('stop');
}, },
init() { init() {
// 通过URL获取相关参数 // 通过URL获取相关参数
const urlParamsMap = getUrlParams(window.location.hash); const urlParamsMap = getUrlParams(window.location.hash);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!