Jump to content

YouTube embedded video stick to each other while others not


Maxxius

Recommended Posts

Posted

hello, problem is when you paste a youtube link, then the embedding magic happens and the cursor is placed on a line below the video - you paste another video in it and the videos stick to each other. while vimeo embeded videos do not and have a nice distance between them.

When view these two posts and toggle their source code to see the they are similar and most importantly vimeo does not have < br > or < p > </ p > tags between the videos and they don't stick together.

Any idea what could I do to make the same spacing happen on youtube embeds without having people manually hitting enter 2 times to make it happen?

suLpgWw.jpg

Posted

I think the Vimeo spacing is within the iFrame, so it comes directly from the external source. So it wouldn’t be easy to adopt that for YouTube. 

You could however easily add spacing to all videos. 

.ipsEmbeddedVideo { margin: 15px auto; }

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...