You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#104065 Video ignores scaling criteria

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Wednesday, 29 April 2020 10:14 BST

GuiGuy
Our (joomla) site template is traditional in that it has left and right columns each side of the content block. When we place a video into the content (youtube etc), scaling we specify is ignored and the video goes full width. For example, if the scaling is set to 400px wide or 50%, when the content is rendered the video image goes to full screen width.

<p>
	<iframe class="mce-item-media mce-item-iframe" src="https://www.youtube.com/embed/8J_bz7feyfY?rel=1" width="560" height="315" frameborder="0" allowfullscreen="true"></iframe>
</p>
You can see the effect here . My test is with Firefox [list] [*]https://news.ccansw.org.au/index.php/the-awards/2-uncategorised/3997-test-for-jce [/list]

Ryan
It looks as if something on your site is attempting to make the iframe responsive, by wrapping it in this div:

<div class="embed-responsive embed-responsive-16by9">
but this css rule in your template stylehseet is incorrect:

.embed-responsive {
    position: absolute;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.