Joomla 5 blocks videos

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
veblis
Joomla! Intern
Joomla! Intern
Posts: 77
Joined: Sat May 21, 2016 8:58 am

Joomla 5 blocks videos

Post by veblis » Wed May 08, 2024 6:27 pm

I add videos from [banned url] but it becomes blurry and unmanageable. The same video works well on a simple html page. Please tell me what the problem is.
You do not have the required permissions to view the files attached to this post.

User avatar
carlitorweb
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Tue May 08, 2018 9:03 pm

Re: Joomla 5 blocks videos

Post by carlitorweb » Wed May 08, 2024 8:34 pm

Check out this thread viewtopic.php?f=834&t=1008580
The future will be automated, decentralized, and digital.

veblis
Joomla! Intern
Joomla! Intern
Posts: 77
Joined: Sat May 21, 2016 8:58 am

Re: Joomla 5 blocks videos

Post by veblis » Wed May 08, 2024 9:32 pm

carlitorweb wrote:
Wed May 08, 2024 8:34 pm
Check out this thread viewtopic.php?f=834&t=1008580
Unfortunately, neither editing the code nor the plugin helped.

User avatar
Sulpher
Joomla! Explorer
Joomla! Explorer
Posts: 304
Joined: Mon May 21, 2007 8:54 am
Contact:

Re: Joomla 5 blocks videos

Post by Sulpher » Sun May 12, 2024 9:51 am

Give an example of HTML code which you embeds.
Joomla! extensions & ecommerce pluginshttps://norrnext.com

Unofficial Joomla channel on Telegram - @joomlahub
Follow me on Twitter: @sulpher

veblis
Joomla! Intern
Joomla! Intern
Posts: 77
Joined: Sat May 21, 2016 8:58 am

Re: Joomla 5 blocks videos

Post by veblis » Fri May 17, 2024 9:37 am

Code: Select all

<iframe src="https://[banned url]/video_ext.php?oid=-53993256&amp;id=456239017&amp;hash=1bed92accb69f815&amp;hd=2" width="649" height="360" frameborder="0" allow="autoplay; encrypted-media; fullscreen; picture-in-picture;" allowfullscreen="allowfullscreen" loading="lazy"></iframe>
[banned url] - the forum blocks domains.

User avatar
Sulpher
Joomla! Explorer
Joomla! Explorer
Posts: 304
Joined: Mon May 21, 2007 8:54 am
Contact:

Re: Joomla 5 blocks videos

Post by Sulpher » Fri May 17, 2024 2:53 pm

veblis,
I tried your widget (with the correct URL of the site) via Code Mirror editor and all works fine:
Image

I used Code Mirror. TinyMCE strips Iframe tag in security reasons.

Go to plugins > TinyMCE

Image
and select the right set, e.g. Set 0 for super administrators.
The scroll down and find the parameter: Prohibited Elements

Image
Remove iframe and save the configuration. Now iframe should not be removed for super administrator when the article saves.

Image

BUT! Please bear in mind this is absolutely insecure for other users groups to allow them embedding iframe.

Also you can use any 3rd party plugin to insert some code.

And 3rd way is to use core Joomla fields to embed snippets.

P.S. there is a similar topic:
viewtopic.php?f=834&t=1006302
Joomla! extensions & ecommerce pluginshttps://norrnext.com

Unofficial Joomla channel on Telegram - @joomlahub
Follow me on Twitter: @sulpher


Post Reply

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