|
@@ -1912,13 +1912,13 @@ export default {
|
|
|
that.oWebControl = null
|
|
|
$('#playWnd').html('插件未启动,正在尝试启动,请稍候...')
|
|
|
WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
|
|
|
- initCount++
|
|
|
- if (initCount < 3) {
|
|
|
+ that.initCount++
|
|
|
+ if (that.initCount < 3) {
|
|
|
setTimeout(function() {
|
|
|
that.initPlugin(newappkey,newloginIp,newsecret,newloginPort)
|
|
|
}, 3000)
|
|
|
} else {
|
|
|
- $('#playWnd').html('插件启动失败,请检查插件是否安装!')
|
|
|
+ $('#playWnd').html('插件启动失败,请检查插件是否安装!<a href="./public/hk/VideoWebPlugin.exe">下载插件</a>')
|
|
|
}
|
|
|
},
|
|
|
cbConnectClose: function(bNormalClose) {
|