Embedded video is off center after opening Menu lightbox slide

Aug 26, 2014

Here's the issue:

I've got Vimeo videos embedded with <iframe>. If the user clicks on the FAQ in upper right-hand corner (which is lightboxed) and then clicks on a link in the lightboxed window that shows a new layer, then they click on the X, the video is off-center.

This doesn't happen if you don't click to show a new layer.

I've tried <center> around the <iframe>.

I've tried <div center>.

I've tried adding

.post_content iframe {

display: block;

margin: 0 auto;

}

to a CSS file.

I've tried adding <iframe style="middle">

Nothing seems to work. Any ideas?

7 Replies
Todd Crowell

The video is not on a layer. The video appears fine until you access the FAQ and pick a layer. The FAQ is a separate slide that is accessed from the top right corner of the player. The FAQ slide has multiple layers and this only happens when accessing any of those layers.

Here's a sample file.

This discussion is closed. You can start a new discussion or contact Articulate Support.