Elxis CMS Forum
Extensions => Bots and plugins => Topic started by: Luca on September 08, 2023, 14:33:16
-
Hello, everybody
I have a problem with this plug-in:
1) If I put it in a module in the frontpage, the message I get is "Firefox message: Your browser does not support HTML5 video!", but if I publish it in an authonomous page, it shows up;
2) When published, the page where it is in cannot be switched to another language
Thank you for any help
Gianluca
5.4 Rev 2523
-
I had the same problem as you have. This issue was resolved by disabling Hardware Acceleration. Just follow the following steps.
- Go to Firefox Menu > Options > Options > Advanced
- Uncheck Use hardware acceleration when available
- Click OK
- Restart Firefox and enjoy the video!
-
Hey, Webgift! Thank you!
Mmmm... I tested as you suggested but ...nop
BTW, this is happening exactly the same on Chrome, too
I was now making some tests and this is what I discovered:
Autonomous page
A) Javascript compression yes:
the video shows up and it plays;
the mainmenu is weird (only the Home button is shining);
it is not possible to change language
B) Javascript compression no:
the menu works perfectly;
the browser cannot play the video;
is possible to change language
Thank you,
Cheers!
-
Hello,
Javascript compression no and disable HTML5 video content plugin.
Try create a new module (mod_content) with the following piece of code:
https://www.w3schools.com/tags/tag_video.asp
It will work!
-
Thank you, Webgift!
Yes, it will work. I did the same for the frontpage.
I didn't saw in the forum others complaining about this issue so, I thing it's only me?
In your opinion, Webgift, will I be at all able to run this plug-in in my site, one day? :)
Thank you for your time and effort!
Please, have a great day!
Gianluca
-
It will function once it will be updated as this is an Elxis core extension.
There are no other complaints cause users don't use it. This is what i can think of as a reason why right now.
You're welcome Gianluca!
Wish you have a wonderful day as well.
-
Thanks to you!
Best wishes! :D
-
The plugin has no problem. The problem is that you put it inside a module and most probably cache is enabled. If you integrate the plugin as usual inside an article I am sure it will work fine.
The Video plugin uses javascript in order to support old browsers and provide advanced functionality. When you integrate it inside a module, with cache enabled, most probably you have missing javascript or javascript error. Do you have also JS minifier enabled in Elxis configuration?
Adding a video the normal HTML5 way with the video tag, as Webgift proposed, is also a good idea. My advice would be also to provide an .ogg format as source in this case.
-
Thank you, Datahell
Yes, you are confirming exactly what I came out with my testing. Were cache and JS minifier the issue. I managed to have now a wonderful looking setup. Thanks again!
Gianluca
-
Good to read that issue found!
So a great upgrade for this extension is to support multiple video file types! :)
-
Happy to hear that, I can't wait
Thank you!
-
So a great upgrade for this extension is to support multiple video file types! :)
The built-in player already supports video with multiple formats/sources (ogv, ogg, webm, weba, mp4, m4v).
How it works:
Let's say you integrate video sample.mp4
In the same folder that the main video file exists upload the other formats keeping the same name: sample.ogg, sample.webm
The plugin will automatically detect them and load them all.
Note: You must be careful on which sites you enable the JS and CSS minifier. They are not suitable for all cases. After you enable them check the browser console for errors, mostly javascript. If you have javascript errors disable the minifier.
-
Thank you for the note
-
In the same folder that the main video file exists upload the other formats keeping the same name: sample.ogg, sample.webm
The plugin will automatically detect them and load them all.
Aha sorry it's my fault. I should check the source code as for the multiple video file types support.
Apologies!