asd
This commit is contained in:
@ -159,6 +159,8 @@ class Timecode {
|
||||
ioClient.emit("play", {file:this.filePlaying});
|
||||
ioClient.on("playing", ()=>{
|
||||
this.startTime = new Date().getTime();
|
||||
this.interval = setInterval(this.update.bind(this), 1000/25);
|
||||
this.playing = true;
|
||||
});
|
||||
ioClient.on("update", (data)=>{
|
||||
this.vlcUpdate(data);
|
||||
@ -167,9 +169,8 @@ class Timecode {
|
||||
} else {
|
||||
this.startTime = new Date().getTime();
|
||||
this.playing = true;
|
||||
this.interval = setInterval(this.update.bind(this), 1000/25);
|
||||
}
|
||||
|
||||
this.interval = setInterval(this.update.bind(this), 1000/25);
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Reference in New Issue
Block a user