No bug extension works with mp4

More
1 year 9 months ago #2594 by Hervé
extension works with mp4 was created by Hervé
Hello Ruud
I downloaded an mp4 file in joomla4 media.
I don't see it as responsive like an external video.
I don't see any settings in the plugin configuration.
Is it possible?
Regards

Please Log in to join the conversation.

More
1 year 9 months ago #2595 by Ruud van Lent
Replied by Ruud van Lent on topic extension works with mp4
Goodmorning Hervé,
that depends... do you have an URL where I can see the video and how it is implemented on the page?

Please Log in to join the conversation.

More
1 year 9 months ago #2596 by Hervé
Replied by Hervé on topic extension works with mp4
Hello Ruud
<video controls="controls" width="800" height="600">
<source src="/images/Altius_travaux_en_hauteur_expertise_v2.mp4" type="video/mp4" /></video>
1/ On some browsers it is on a black background; Possible to have the image or something else attractive?
2/ the same for launching the video, if it's local, it's a Joomla parameter, if it's a Vimeo url, is it a parameter for them?

preprod2.altius.fr/fr/page-test1.html

Regards

Please Log in to join the conversation.

More
1 year 9 months ago #2597 by Ruud van Lent
Replied by Ruud van Lent on topic extension works with mp4
Hi, link results in 404?

Please Log in to join the conversation.

More
1 year 9 months ago #2598 by Hervé
Replied by Hervé on topic extension works with mp4
Sorry it should be ok now

Please Log in to join the conversation.

More
1 year 9 months ago #2599 by Ruud van Lent
Replied by Ruud van Lent on topic extension works with mp4
Ok,
thanks.
This will not work with ochFitVids as this plugin works with iFrames, not with <video> elements.

Please Log in to join the conversation.

More
1 year 9 months ago #2601 by Hervé
Replied by Hervé on topic extension works with mp4
Ah joomla therefore integrate an mp4 video in <video> and in <iframe> if external supplier!
And the other more general questions?

Please Log in to join the conversation.

More
1 year 9 months ago #2602 by Ruud van Lent
Replied by Ruud van Lent on topic extension works with mp4
Hi other questions are not ochFitVids related but just css related correct?

Please Log in to join the conversation.

More
1 year 9 months ago #2603 by Hervé
Replied by Hervé on topic extension works with mp4
HI
Yes general?

Please Log in to join the conversation.

More
1 year 9 months ago #2604 by Ruud van Lent
Replied by Ruud van Lent on topic extension works with mp4

1/ On some browsers it is on a black background; Possible to have the image or something else attractive?

That is the way it works, it is not adding a player, it is adding a <video> element. It is the browser that renders this element into a browser build in player. I think that every browser has or might have it's own implementation of this player when it comes to how it looks. So maybe it is possible to style the browser build in player but then you need to know the classes used by the browser (and other browsers as well).

2/ the same for launching the video, if it's local, it's a Joomla parameter, if it's a Vimeo url, is it a parameter for them?
 


I think (didn't dive into the code), that when the location you provide is local Joomla 'knows' it is a local file and it then depends on the browser build in player (via the video element).
If it is a remote location (URL) then it should be loaded in a different way.

Please Log in to join the conversation.