mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-14 17:28:27 +00:00
Added support of VK for mediaMetadata
This commit is contained in:
parent
ef6bf10e92
commit
29ee3a6e7e
@ -49,6 +49,12 @@ export default async function(o) {
|
||||
resolution: `${quality}p`,
|
||||
qualityLabel: `${quality}p`,
|
||||
extension: "mp4"
|
||||
},
|
||||
mediaMetadata: {
|
||||
duration: js.player.params[0].duration,
|
||||
likes: js.mvData.likes,
|
||||
views: js.videoModalInfoData.views,
|
||||
title: js.mvData.title
|
||||
}
|
||||
}
|
||||
return { error: 'ErrorEmptyDownload' }
|
||||
|
Loading…
Reference in New Issue
Block a user