- Issue created by @giordy
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Hi giordy, your videos has aspect ration 4/3 and only 320 pixels width. GLightbox has default values for aspect ration 16/9 and at least 720 pixels width. But you can add custom CSS to resize your video (easiest way) or use plyr plugin settings (it will need to write custom module and apply unique settings for specific page).
<style> .path-node-1258 plyr__video-wrapper plyr__video-wrapper--fixed-ratio { aspect-ratio: 4 / 3 !important; } .path-node-1258 #gvideo0 { max-width: 100% !important; } </style>
- 🇮🇹Italy giordy
I would have found an alternative solution:
- I create an html page
- I call the page with glightbox-inlineIt works with Edge and Chrome, but not with Firefox
- 🇮🇹Italy giordy
I found an even simpler solution: I changed the video resolution.