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.

#108544 Video (i.e. YouTube) not formatting - changes to

Posted in ‘Editor’
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 Monday, 23 August 2021 20:18 BST

jeffhoneyager
Something has changed. I use video often in content. I usually
1. Position cursor where I want the video.
2. Click the "Insert Media" button.
3. Paste the video URL in the URL field
4. Set the Alignment and Margins
5. Click Insert

Now when I do the above, the video lost all positioning. And looking at the source code it is:

< iframe src="https://www.youtube.com/embed/7R-FUA0ZBJc" width="560" height="315" style="margin: 0px 0px 10px 20px;" allowfullscreen="allowfullscreen">
< /iframe >

No alignment!!! See attachment.

I cannot click the video and edit with either the iframe editor or the media editor.

Do you know how to:
1. fix this
2. revert back to an older version that works (what version?)

Thank you.

Attachments

Ryan
For Youtube videos, it is best to set the alignment on the container paragraph, expecially if you are center aligning.

After inserting the video, click to the right of it, in the paragraph, then click the Align Center button in the editor toolbar.

Ryan Demmer

Lead Developer / CEO / CTO

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

jeffhoneyager
When I use the "Insert Media" to add a Youtube video, the alignment does not work.

Then, when I <ctrl><click> the displayed image/video, the iframe gets aligned.

Then - SAVE the article.

Then - it displays fine (i.e. aligned to the right of the text.

Then - I go back in to edit further (e.g. add more content...).

The alignment reverts to zip-nada

Version 2.9.11

I can work around the bug for now.

jeffhoneyager
FYI - you can see it at:
https://bigboyzshorts.com/focus/spirit

...a site at the beginning...

Ryan
I've sort of fixed this in JCE Pro 2.9.12 Beta - Please try JCE Pro 2.9.12 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development - but there are still some selection issues caused by the float:right style that I am working on.

Ryan Demmer

Lead Developer / CEO / CTO

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