mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Display image typed embeds similar to attachments
This commit is contained in:
parent
a625e88edb
commit
470607af1a
@ -1111,6 +1111,12 @@
|
|||||||
// continue;
|
// continue;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
if (disembed.type == "image") {
|
||||||
|
var img = "<img class=\"image attachment materialboxed\" src=\"" + disembed.thumbnail.proxy_url + "\">";
|
||||||
|
emb.push(img);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
disembed.isVideo = false;
|
disembed.isVideo = false;
|
||||||
if (disembed.type == "video") {
|
if (disembed.type == "video") {
|
||||||
disembed.isVideo = true;
|
disembed.isVideo = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user