So much work
This commit is contained in:
parent
1850f009ff
commit
de2294d3ab
5 changed files with 1045 additions and 1039 deletions
|
|
@ -501,6 +501,10 @@ Player.prototype.update = function(data) {
|
|||
data.currentTime = 0;
|
||||
}
|
||||
this.load(data);
|
||||
this.play();
|
||||
}
|
||||
if(CLIENT.leader) {
|
||||
return;
|
||||
}
|
||||
if(!USEROPTS.synch) {
|
||||
return;
|
||||
|
|
@ -512,9 +516,6 @@ Player.prototype.update = function(data) {
|
|||
else {
|
||||
this.play();
|
||||
}
|
||||
if(CLIENT.leader) {
|
||||
return;
|
||||
}
|
||||
this.getTime(function(seconds) {
|
||||
var time = data.currentTime;
|
||||
var diff = time - seconds || time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue