Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bonc-htmlplayer

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bonc-htmlplayer - npm Package Compare versions

Comparing version 1.0.32 to 1.0.33

2

package.json
{
"name": "bonc-htmlplayer",
"version": "1.0.32",
"version": "1.0.33",
"description": "东方国信的html播放器内核",

@@ -5,0 +5,0 @@ "main": "./dist/BoncH5Player.js",

@@ -186,7 +186,8 @@ import Event from './util/event';

//2021.12.13刘易暄
xmljson.DeviceType && (playBody.getElementsByTagName('DeviceType')[0].firstChild.nodeValue = xmljson[index].DeviceType);
xmljson.RecorderType && (playBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue = xmljson[index].RecorderType);
xmljson[index].DeviceType && (playBody.getElementsByTagName('DeviceType')[0].firstChild.nodeValue = xmljson[index].DeviceType);
// xmljson[index].RecorderType && (playBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue = xmljson[index].RecorderType);
playBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue =1
if(xmljson[index].DeviceType=="1102" && xmljson[index].RecorderType=="2"){
xmljson.GBSServerIP && (playBody.getElementsByTagName('GBSServerIP')[0].firstChild.nodeValue = xmljson[index].GBSServerIP);
xmljson.GBSServerPort && (playBody.getElementsByTagName('GBSServerPort')[0].firstChild.nodeValue = xmljson[index].GBSServerPort);
xmljson[index].GBSServerIP && (playBody.getElementsByTagName('GBSServerIP')[0].firstChild.nodeValue = xmljson[index].GBSServerIP);
xmljson[index].GBSServerPort && (playBody.getElementsByTagName('GBSServerPort')[0].firstChild.nodeValue = xmljson[index].GBSServerPort);
}

@@ -216,3 +217,4 @@

xmljson.DeviceType && (playBody.getElementsByTagName('DeviceType')[0].firstChild.nodeValue = xmljson.DeviceType);
xmljson.RecorderType && (playBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue = xmljson.RecorderType);
// xmljson.RecorderType && (playBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue = xmljson.RecorderType);
playBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue =1
if(xmljson.DeviceType=="1102" && xmljson.RecorderType=="2"){

@@ -383,3 +385,4 @@ xmljson.GBSServerIP && (playBody.getElementsByTagName('GBSServerIP')[0].firstChild.nodeValue = xmljson.GBSServerIP);

param.DeviceType && (playRecodrBody.getElementsByTagName('DeviceType')[0].firstChild.nodeValue = param.DeviceType);
param.RecorderType && (playRecodrBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue = param.RecorderType);
// param.RecorderType && (playRecodrBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue = param.RecorderType);
playRecodrBody.getElementsByTagName('RecorderType')[0].firstChild.nodeValue =1
if(param.DeviceType=="1102" && param.RecorderType=="2"){

@@ -386,0 +389,0 @@ param.GBSServerIP && (playRecodrBody.getElementsByTagName('GBSServerIP')[0].firstChild.nodeValue = param.GBSServerIP);

@@ -25,4 +25,2 @@ //这里存储的 指令模板

'<ChannelID>422485cf2bfd4565b308af34c960c0f4-0000</ChannelID>\n' +
// 2021.12.2亚鸽
'<GBSServerIP>0</GBSServerIP>\n' +

@@ -29,0 +27,0 @@ '<GBSServerPort>0</GBSServerPort>\n' +

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc