Youtube videos technically queable/playable

This commit is contained in:
rainbow napkin 2025-05-06 07:48:24 -04:00
parent 0ce0685fd5
commit 9d9aa5672f
5 changed files with 24 additions and 9 deletions

View file

@ -18,9 +18,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
const media = require('./media');
module.exports = class extends media{
constructor(title, fileName, url, id, type, duration, startTime, startTimeStamp, earlyEnd, uuid){
constructor(title, fileName, url, id, type, duration, rawLink, startTime, startTimeStamp, earlyEnd, uuid){
//Call derived constructor
super(title, fileName, url, id, type, duration);
super(title, fileName, url, id, type, duration, rawLink);
//Set media start time
this.startTime = startTime;
//Set the media start time stamp
@ -50,6 +50,7 @@ module.exports = class extends media{
media.id,
media.type,
media.duration,
media.rawLink,
startTime,
startTimeStamp);
}