first commit with existing project files
This commit is contained in:
22
1-HTMLMediaElement V2/Track.js
Normal file
22
1-HTMLMediaElement V2/Track.js
Normal file
@@ -0,0 +1,22 @@
|
||||
export class Track {
|
||||
constructor(name, url) {
|
||||
this.name = name;
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
get name() {
|
||||
return this._name;
|
||||
}
|
||||
|
||||
set name(value) {
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
get url() {
|
||||
return this._url;
|
||||
}
|
||||
|
||||
set url(value) {
|
||||
this._url = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user