海康web视频插件错误:TypeError: c.HWP_GetLocalConfig is not a function
2016-11-09 13:06
3231 查看
我在页面上添加海康视频控件时,提示错误TypeError: c.HWP_GetLocalConfig is not a function
查了半天最后发现是因为没有激活插件
正常如果未激活插件会有下图的提示
![](http://static.oschina.net/uploads/space/2016/1109/130116_5Rbg_2450094.png)
但我的页面没有这个提示,可能是因为样式问题导致这个提示没有显示。
最后我使用iframe的方式把视频控件放在页面上,而不是直接嵌入控件,问题得到解决
查了半天最后发现是因为没有激活插件
正常如果未激活插件会有下图的提示
![](http://static.oschina.net/uploads/space/2016/1109/130116_5Rbg_2450094.png)
但我的页面没有这个提示,可能是因为样式问题导致这个提示没有显示。
最后我使用iframe的方式把视频控件放在页面上,而不是直接嵌入控件,问题得到解决
相关文章推荐
- 出现TypeError: 'undefined' is not a function (evaluating '$')错误
- 错误:The MagicAjax HttpModule is not included in web.config. Add [<httpModules><add name="MagicAjax" type="MagicAjax.Magic
- js报错:TypeError: document.GetElementById is not a function
- 使用vue时Module build failed: TypeError: this._init is not a function错误的解决方法
- js错误Uncaught TypeError: $(...).datagrid is not a function自己写的并没有错但是一直报这个错(详解)
- 经典错误之:TypeError: res.json is not a function
- Uncaught TypeError: this.canvas.getContext is not a function
- TypeError: a.replace is not a function 错误
- 使用jquery插件autocomplete时候出现typeerror:this.source is not a function即与jquery的autocomplete冲突
- 关于Jquery错误的解决:Uncaught TypeError: $.post is not a function
- Uncaught TypeError: UE.getEditor is not a function
- TypeError: atlas.getSpriteFrame is not a function
- Uncaught (in promise) TypeError: __webpack_require__.i(...) is not a function
- TypeError: url.indexOf is not a function ,使用jquery load()出现错误
- javascript 错误 "Uncaught TypeError: string is not a function"
- js报错:TypeError: document.GetElementById is not a function
- jquery TypeError: 'undefined' is not a function (evaluating 'elem.nodeName.toLowerCase()') [jquery.js:1904]错误原因
- TypeError: record.get is not a function
- js错误:Uncaught TypeError: accept is not a function at HTMLInputElement.onclick
- jquery中Uncaught TypeError: $(...).ajaxUpload is not a function(…)错误解决方法