Iframe not working in Joomla v5.1.0 but ok in 4.4.4

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
dave29563
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri May 17, 2024 11:14 am

Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by dave29563 » Sat May 18, 2024 6:57 pm

I Am having issues in Joomla version 5.1.0 showing the iframe up with me using Gantry 5 not at all sure why as I have the same setting as I do in Joomla 4.4.4 and that is working fine and not giving me an error message saying about Jave not working in my browser.

I have checked this and Java is enabled. But I keep getting this showing up!

An error occurred.
Try watching this video on www.[youtube].com, or enable JavaScript if it is disabled in your browser.

https://imgur.com/gallery/iframe-not-working-tyj0OO4


I have removed the iframe from the system/plugins Editor - TinyMCE
from the Prohibited Elements section.

https://imgur.com/gallery/iframe-removed-jTpBB6l



Not sure if it could be a different setting affecting it as it is fine in the Joomla 4.4.4 version, I'm also not testing on a host site yet with it I'm on Wamp version 3.3.5
I see a lot of issues with this long Bug that seem to not be fixed. My old site running on a host is over 8 years running and that had the same issues back then.

Hope someone has a little more insight into this problem to see if I can run or use version 5.1,0 or not. There is another issue, but I will do another post for that as it is the text background being white on white in the admin reading section!

sorry if this as been posted before!

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31084
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by Per Yngve Berg » Sat May 18, 2024 10:51 pm

I got it working with the AllVideos Plugin

https://extensions.joomla.org/extension/allvideos/

{[youtube]}t--THraTrt8{/[youtube]}

dave29563
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri May 17, 2024 11:14 am

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by dave29563 » Sun May 19, 2024 7:34 pm

Per Yngve Berg wrote: Sat May 18, 2024 10:51 pm I got it working with the AllVideos Plugin

https://extensions.joomla.org/extension/allvideos/

{[[youtube]]}t--THraTrt8{/[[youtube]]}
Thank you for this I have downloaded it installed it and still the same! I have a feeling it might be better to just re-install Joomla 5.1.0

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31084
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by Per Yngve Berg » Sun May 19, 2024 7:50 pm

You did remove the square brackets? They where added by the forum.

dave29563
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri May 17, 2024 11:14 am

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by dave29563 » Sun May 19, 2024 9:50 pm

Per Yngve Berg wrote: Sun May 19, 2024 7:50 pm You did remove the square brackets? They were added by the forum.
No, I did not do this! Sorry did not know I just made sure it was enabled and put the iframe in it as I have done for 10 years :-)

I also just did a fresh install and it's still the same without using the allvideos so it's not an installation missing files error with it.

I will give it another go then I will carry on with version 4.4.4 as no issues at all with that version! Thanks!

Am I just adding the link from [youtube] and not the embed part?

dave29563
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri May 17, 2024 11:14 am

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by dave29563 » Sun May 19, 2024 10:36 pm

Per Yngve Berg wrote: Sun May 19, 2024 7:50 pm You did remove the square brackets? They were added by the forum.
It seems to have shown up now thank you! ;) How do you change the video size with it being added in this way I've always been used to using the embed which gave me options to do this, but I only have a link going in now.

dave29563
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri May 17, 2024 11:14 am

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by dave29563 » Wed May 22, 2024 10:56 am

Per Yngve Berg wrote: Sat May 18, 2024 10:51 pm I got it working with the AllVideos Plugin

https://extensions.joomla.org/extension/allvideos/

{[[youtube]]}t--THraTrt8{/[[youtube]]}
I have managed to get a [youtube] video to show up but still unable to get an iframe into it, do I need to change something with it?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31084
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by Per Yngve Berg » Wed May 22, 2024 6:00 pm

{[youtube]}he73js822|600|450|1{/[youtube]}


600 (width)
450 (height)
1 (autoplay)

Read the documentation: https://www.joomlaworks.net/support/docs/allvideos

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9913
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Iframe not working in Joomla v5.1.0 but ok in 4.4.4

Post by AMurray » Wed May 22, 2024 9:46 pm

Refer to viewtopic.php?f=834&t=1006302 another question about the same issue (Iframe in J5 not working). That may contain additional tips.
Regards - A Murray
General Support Moderator


Post Reply

Return to “General Questions/New to Joomla! 5.x”