Elxis CMS Forum
Support => General => Topic started by: xmanhattan on February 05, 2024, 11:57:55
-
Hello,
I am now using template Five but I have a few questions.
I have added a video by creating a module. I noticed as I was tweaking the code that every time I saved the module Jodit added more lines to the code.
<jodit-media data-jodit-temp="1" draggable="true" data-jodit_fake_wrapper="1" style="display: block; width: 300px; height: 150px;" contenteditable="false">
<video>
file and other coding
</video>
</jodit-media>
Additionally, the video in English but does not appear when the language is switched to Greek.
Suggestions appreciated. https://www.bournias.net/ (https://www.bournias.net/)
-
I would write the video html tag in the database directly using PHPMyAdmin tool or something like that. I would do the same as for its translation in __translations db table.
-
webgift, I am sending you a pm.
Thanks
-
That's ok!
-
Finally all requests are completed.
Notes:
- Five template* is a core template for Elxis CMS.
It means that the core files will be replaced once we have a new CMS update and you'll loose the changes you'd done. For that reason i remind you the users.config.css file.
Please visit back-end and then from the left menu: Site -> Code editor -> user.config.css. You can now apply CSS code directly from there. You can also apply Javascript code on the corresponding js file.
- Video is available for both languages now.
Please take under consideration that once we use relative path for videos we have to add the ../ at the front of each path under Homepage - Greek language.
* We could copy the Five template to a custom name one and apply any custom change we wish!
-
@xmanhattan: For the video use the HTML5 video plugin.
{video}relative/path/to/video/sample.webm{/video}