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

This commit is contained in:
Jiralite
2022-08-12 04:09:44 +01:00
committed by GitHub
parent 7666a6c341
commit c97977a3e8

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,
};
}