Started work on back-end for synced video playback.
This commit is contained in:
parent
b443840c29
commit
0b68db1265
6 changed files with 131 additions and 10 deletions
|
|
@ -24,13 +24,5 @@ module.exports = class{
|
|||
this.id = id;
|
||||
this.type = type;
|
||||
this.duration = duration;
|
||||
|
||||
//Generate initial UUID, this will most likely be replaced when media object is added to a playlist
|
||||
//If this ends up being entirely redudnant in the future we'll remove it for performance
|
||||
this.genUUID();
|
||||
}
|
||||
|
||||
genUUID(){
|
||||
this.uuid = crypto.randomUUID();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue