The oEmbed plugin solved the issue of inserting videos and adjusting the layout. When inserting the link, it must not have any formatting.
There’s only a small difference in the video layout depending on the link format. For example:
https://www.youtube.com/watch?v=vE26dVkCvpw https://youtu.be/vE26dVkCvpw?si=qBS0Sou_DYqD8TGI
One video appears larger than the other. I know this is a minor issue, but for the sake of standardization, I’ll run some tests and get back to you soon.
When pasting the link (without formatting) into the editor, it doesn’t convert in the backend (which is fine); it’s only rendered on the frontend. I’ll run some tests with adjustments in the file:
/vendor/elgg/elgg/mod/ckeditor/views/default/ckeditor/config/base.mjs
Thank you for your help; your suggestion works. The issue has been resolved.
The issue was with the plugin configuration in the backend.
Whitelisted domains for oEmbed support was set as:
https://youtube.com, https://youtube.com.br, https://www.youtube.com/watch?v=,When I left the configuration blank, the plugin worked.
In the help text of the plugin settings it gives you a hint of what you should fill in.
https://youtube.com is an URL, not a domain. The domain of that link would be 'youtube', that will catch any URL with the same domain (like https://www.youtube.com or https://youtube.com).
There’s only a small difference in the video layout depending on the link format. For example:
https://www.youtube.com/watch?v=vE26dVkCvpw https://youtu.be/vE26dVkCvpw?si=qBS0Sou_DYqD8TGIOne video appears larger than the other. I know this is a minor issue, but for the sake of standardization, I’ll run some tests and get back to you soon.
With the plugin setting 'height' we try to make sure the format is the same, but it can still be that the height is the same but the width isn't. Let me know of any issues.
<elgg_folder>/vendor/elgg/elgg/mod/ckeditor/views/default/ckeditor/config/base.mjs
==============================================
CODE :
// Gets the height of the top bar, if present
========================================================
How to standardize shared videos through iframe? The code above does not work for users not connected to the network.
Thanks
how to include an image above the menu?
Which 'menu'?
Sorry, any errors text was translated ...
I like to put a custom image in place of elgg logo.
I want to keep the whole structure of the layout.
Custom Logo: How to include images?
Thank you.
thank attention
solved the problem using the plugin Lees Logo
https://community.elgg.org/plugins/1077181/1.0.0/lees-logo
==============================
Agradeço atenção
Resolvi o problema utilizando o plugin Lees Logo
https://community.elgg.org/plugins/1077181/1.0.0/lees-logo
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.