优化海康国标录像播放的控制
parent
1757203202
commit
4d3f0a8d79
|
@ -14,7 +14,7 @@ import java.util.Locale;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 全局时间工具类
|
* 全局时间工具类
|
||||||
* @author swwheihei
|
* @author lin
|
||||||
*/
|
*/
|
||||||
public class DateUtil {
|
public class DateUtil {
|
||||||
|
|
||||||
|
|
|
@ -681,7 +681,11 @@ export default {
|
||||||
this.$axios({
|
this.$axios({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: `/api/playback/seek/${this.streamId }/` + Math.floor(this.seekTime * val / 100000)
|
url: `/api/playback/seek/${this.streamId }/` + Math.floor(this.seekTime * val / 100000)
|
||||||
}).then(function (res) {});
|
}).then( (res)=> {
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.$refs.videoPlayer.play(this.videoUrl)
|
||||||
|
}, 600)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue