[ARCHIVED] Can we format YouTube embeds?

Jump to solution
G_Petruzella
Community Champion

I would dearly love to align YouTube embeds in a Page, as I can do with most other media (Vimeo, <iframe>d anything, images) - e.g. using the "align" attribute. However, my noodling with style attributes on YouTube objects at best only affects the text of the link - never the embedded frame, which is always left-aligned and unwrappable.

Has anyone found ways to make YouTube embeds behave like most others? Should this be a feature request, or is this just a bee in my particular bonnet? 😐

Labels (1)
1 Solution
themidiman
Community Champion

It would seem like you can. With a <div> inline style that encloses the <iframe> Here's a screenshot of my code and the result:

yt_embed_canvas_code.png

yt_embed_canvas_result.png

Hope that helps! Smiley Happy

View solution in original post