Commit 4d3f0a8d790afea1a3f577ac07cfea258457ebc2
1 parent
17572032
优化海康国标录像播放的控制
Showing
2 changed files
with
6 additions
and
2 deletions
src/main/java/com/genersoft/iot/vmp/utils/DateUtil.java
web_src/src/components/dialog/devicePlayer.vue
| @@ -681,7 +681,11 @@ export default { | @@ -681,7 +681,11 @@ export default { | ||
| 681 | this.$axios({ | 681 | this.$axios({ |
| 682 | method: 'get', | 682 | method: 'get', |
| 683 | url: `/api/playback/seek/${this.streamId }/` + Math.floor(this.seekTime * val / 100000) | 683 | url: `/api/playback/seek/${this.streamId }/` + Math.floor(this.seekTime * val / 100000) |
| 684 | - }).then(function (res) {}); | 684 | + }).then( (res)=> { |
| 685 | + setTimeout(()=>{ | ||
| 686 | + this.$refs.videoPlayer.play(this.videoUrl) | ||
| 687 | + }, 600) | ||
| 688 | + }); | ||
| 685 | } | 689 | } |
| 686 | 690 | ||
| 687 | } | 691 | } |