bonc-htmlplayer
Advanced tools
Comparing version 1.0.32 to 1.0.33
{ | ||
"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' + |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13502385
54196