Finally got a reply from IJ support
Apr. 22nd, 2023 12:42 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
It only took about a year to get back to me, lol.
In any case, so the issue with embedded youtube not showing up on crossposts is due to the different syntax required.
DW uses the iframe and /iframe tag (which is what youtube also uses when you share). But IJ uses the embed /embed tag. Once I replace iframe with embed, the video shows up on IJ.
EDIT: looks like DW can use both iframe and embed, while IJ can only use embed tag. Good to know.
Test iframe
Test embed
In any case, so the issue with embedded youtube not showing up on crossposts is due to the different syntax required.
DW uses the iframe and /iframe tag (which is what youtube also uses when you share). But IJ uses the embed /embed tag. Once I replace iframe with embed, the video shows up on IJ.
EDIT: looks like DW can use both iframe and embed, while IJ can only use embed tag. Good to know.
Test iframe
Test embed
(no subject)
Date: 2023-04-24 03:09 am (UTC)Huh. Learn something new every day.
Interesting that IJ isn't compatible with the code that Youtube provides for some reason. Weird.
(no subject)
Date: 2023-04-24 10:06 pm (UTC)(no subject)
Date: 2023-04-25 12:06 am (UTC)Blech. I don't know why they update the code like that. Is it for security purposes? I recall something about worrying that iframe can allow script injections in blog posts. That was like over 10 years ago, tho'.