tanithryudo (
tanithryudo) wrote2023-04-22 12:42 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Finally got a reply from IJ support
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
Huh. Learn something new every day.
Interesting that IJ isn't compatible with the code that Youtube provides for some reason. Weird.
no subject
no subject
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'.