|
@@ -44,6 +44,7 @@ function lunbo() {
|
|
}
|
|
}
|
|
console.log("video_team:", video_team)
|
|
console.log("video_team:", video_team)
|
|
team_index = 0;
|
|
team_index = 0;
|
|
|
|
+
|
|
startPlayVideo()
|
|
startPlayVideo()
|
|
intercalHanler = window.setInterval(changeTeam, 40000)
|
|
intercalHanler = window.setInterval(changeTeam, 40000)
|
|
}
|
|
}
|
|
@@ -65,18 +66,22 @@ function changeTeam() {
|
|
}
|
|
}
|
|
|
|
|
|
function startPlayVideo() {
|
|
function startPlayVideo() {
|
|
- var play_list =[];
|
|
|
|
- if (team_index >= video_team.length) {
|
|
|
|
- team_index = 0
|
|
|
|
- }
|
|
|
|
- console.log("team_index:",team_index)
|
|
|
|
- play_list = video_team[team_index]
|
|
|
|
|
|
+ if(isLunBo == true){
|
|
|
|
+ var play_list =[];
|
|
|
|
+ if (team_index >= video_team.length) {
|
|
|
|
+ team_index = 0
|
|
|
|
+ }
|
|
|
|
+ console.log("team_index:",team_index)
|
|
|
|
+ play_list = video_team[team_index]
|
|
|
|
|
|
- if (play_index >= play_list.length) {
|
|
|
|
- play_index = 0
|
|
|
|
|
|
+ if (play_index >= play_list.length) {
|
|
|
|
+ play_index = 0
|
|
|
|
+ }
|
|
|
|
+ var o = play_list[play_index];
|
|
|
|
+ window.setTimeout(clickLogin, 5000, o.hikIp, o.hikPort, o.hikUsername, o.hikPassword)
|
|
}
|
|
}
|
|
- var o = play_list[play_index];
|
|
|
|
- window.setTimeout(clickLogin, 5000, o.hikIp, o.hikPort, o.hikUsername, o.hikPassword)
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
// for (var k = 0; k < play_list.length; k++) {
|
|
// for (var k = 0; k < play_list.length; k++) {
|
|
// play_index = k;
|
|
// play_index = k;
|