fix(Embed): Reference video in video (#8473)

This commit is contained in:
Jiralite
2022-08-12 05:09:44 +02:00
committed by GitHub
parent 7666a6c341
commit c97977a3e8
+4 -4
View File
@@ -115,10 +115,10 @@ class Embed {
get video() {
if (!this.data.video) return null;
return {
url: this.data.image.url,
proxyURL: this.data.image.proxy_url,
height: this.data.image.height,
width: this.data.image.width,
url: this.data.video.url,
proxyURL: this.data.video.proxy_url,
height: this.data.video.height,
width: this.data.video.width,
};
}