Plugin Author
Aert
(@aahulsebos)
Hi @mariusiscoding,
There’s a padding-top:56.25% that has some issues, quick fix is some CSS:
.video {
padding-bottom: 20px;
padding-top: 45px!important;
}
But there’s still a point of parsing and updating the status on 30+ YouTube videos that causes a performance issue.
If you could, is there a page builder you’re using , a theme block for videos or an iFrame? If the latter, could you show me a snippet of one video?
Maybe I can have a look how to optimize your page.
regards Aert
-
This reply was modified 3 years, 1 month ago by
Aert.
Hi @mariusiscoding,
Are there any further updates about this? Have you already been able to test the suggestion(s) as provided by @aahulsebos?
Let us know if we can help.
Kind regards, Jarno
Works ok when the video is blocked, but if block accepted the videos are only 25px in height.
Which class I need to make them the same size again?
https://snipboard.io/pUrldK.jpg
Hi @mariusiscoding,
I think replacing the above with this CSS should work, it sets the padding-top back to the original 56.25% when consent is obtained.
.video {
padding-bottom: 20px;
padding-top: 45px!important;
}
.cmplz-marketing .video {
padding-bottom: 20px;
padding-top: 56.25%!important;
}
Kind regards, Jarno