YouTube Videos In WebEmbeds? #299
Replies: 1 comment 1 reply
-
if(command == "embedtest") {
let embed = new WebEmbed();
embed.setImage("https://i.ytimg.com/vi/EqXBrT8h98I/maxresdefault.jpg")
embed.setVideo("https://www.youtube.com/embed/EqXBrT8h98I");
message.channel.send({embeds: embed});
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
KeplerIO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Maybe I'm just doing it wrong or have the URL wrong.
If I follow the embed URL I can find this message.
{"msg":"URL not found","code":404,"data":"//embed?image_type=thumbnail&video=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEqXBrT8h98I is incorrect"}
Is it just not meant for YouTube videos?
Thanks,
Kepler
Beta Was this translation helpful? Give feedback.
All reactions