Thread Starter
Anonymous User 15209163
(@anonymized-15209163)
I solved changing the atrribute added to class “fluid-width-video-wrapper” in the files below:
fitvids.js
fitvids.min.js
youtube.php
By clikcing on button “on-stage channel” you’ll see a right padding-top.
I hope it will be useful for you all.
Thanks for the help.
I solved it changing “% !important;” for “px !important;”
i am facing the same issue but in may case it is having 392% inline top padding
<div class=”epyt-video-wrapper fluid-width-video-wrapper” style=”padding-top: 392% !important;”>
i tried to follow your solution but i did not understand this:
“By clikcing on button “on-stage channel” you’ll see a right padding-top.
I hope it will be useful for you all.”
can you please explain in detail or with a screenshot.
Thanks in advance @ibenjo.
-
This reply was modified 5 years, 5 months ago by
ankit21500.
Are you talking about this in fitvids.js @ibenjo.
if ($this.parent().hasClass(‘epyt-video-wrapper’))
{
try
{
$this.parent().addClass(‘fluid-width-video-wrapper’).attr(‘style’, ‘padding-top: ‘ + (aspectRatio * 100) + “% !important;”);
$this.removeAttr(‘height’).removeAttr(‘width’);
}
catch (wraperr)
{
}
}
Thread Starter
Anonymous User 15209163
(@anonymized-15209163)
The file is correct, but you have to find
There are two files with padding set to 100% for class “ wrapper fluid-width-video-wrapper”
I’m not white about the class, but you can recognize it by searching for “padding-top:100%”
You can update it with value you need
I can’t check right now because I’m away, but I hope it will help you anyway
@ibenjo thank you bro i solved it
Hi @arnoldoe and @ankit21500 we are trying to work on a generalized solution. Can you post links to your sites, as it will help us for the next update?
Hi @arnoldoe,
We just emailed you and stated the Pro update that’s coming out later today will solve the issue.