|
@@ -784,7 +784,11 @@ window.initHot = function (model) {
|
|
|
|
|
|
//addPoints(cornerPoint)
|
|
//addPoints(cornerPoint)
|
|
|
|
|
|
- this.cornerPoints[player.currentPano.id] = { cornerPoint, diffLon, diffLat };
|
|
|
|
|
|
+ this.cornerPoints[player.currentPano.id] = {
|
|
|
|
+ cornerPoint,
|
|
|
|
+ diffLon,
|
|
|
|
+ diffLat,
|
|
|
|
+ };
|
|
|
|
|
|
return this.cornerPoints[player.currentPano.id];
|
|
return this.cornerPoints[player.currentPano.id];
|
|
}
|
|
}
|
|
@@ -917,14 +921,20 @@ window.initHot = function (model) {
|
|
}
|
|
}
|
|
} else if (state) {
|
|
} else if (state) {
|
|
if (/* !isVideoPlayed(video) */ video.paused) {
|
|
if (/* !isVideoPlayed(video) */ video.paused) {
|
|
- console.log({ str: 'videoControl play ' + ', ' + this.sid, level: 1 });
|
|
|
|
|
|
+ console.log({
|
|
|
|
+ str: 'videoControl play ' + ', ' + this.sid,
|
|
|
|
+ level: 1,
|
|
|
|
+ });
|
|
this.loadVideo(video);
|
|
this.loadVideo(video);
|
|
video.play();
|
|
video.play();
|
|
//video.currentTime = video.lastCurTime || 0
|
|
//video.currentTime = video.lastCurTime || 0
|
|
this.changeOpaWhenPlay(video);
|
|
this.changeOpaWhenPlay(video);
|
|
|
|
|
|
if (isVideoPlayed(video))
|
|
if (isVideoPlayed(video))
|
|
- console.log({ str: 'played ' + this.sid + video.duration, level: 1 });
|
|
|
|
|
|
+ console.log({
|
|
|
|
+ str: 'played ' + this.sid + video.duration,
|
|
|
|
+ level: 1,
|
|
|
|
+ });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|