cancel
Showing results for 
Search instead for 
Did you mean: 
G_Petruzella
Learner II

Can we format YouTube embeds?

Jump to solution

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? 😐

Tags (3)
2 Replies

JEFHQ12951​, thanks! That's the solution I was looking for - should've realized a little <div>'d do ya...

themidiman
Explorer III

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