Show mp4 video via addon in 1:1 ratio - Forum | JoomShaper
Solved SP Page Builder

Show mp4 video via addon in 1:1 ratio

Asked by Sen 2 years ago Last activity 2 years ago

Hi There:

How can I show mp4 video via pagebuilder addon to show video in 1:1 ratio (square)?

Thanks

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
2 years ago · edited

Hi Sen,

maybe use Raw HTML addon and inside use HTML5 player code

https://www.w3schools.com/TAGS/att_video_width.asp

The height/width of the video's display area are defined by pixels size, just use numbers.

In your case, example:

 <video width="360" height="360" controls>
  <source src="/FULL-PATH-TO-VIDEO" type="video/mp4">
</video> 

It works, if you would use correct full path to video file.

3 more replies

Sen Asked this

Hi Ofi,

Yes, I'm using the video addon already, as mentioned in the question.

I want to show the video in a 1:1 ratio using the addon.

How can I do this?

Sen Asked this

That worked, thanks

Log in to reply.