• Resolved Anonymous User 15209163

    (@anonymized-15209163)


    Ther’s too much padding-top
    In html I see this:
    <div class=”epyt-video-wrapper fluid-width-video-wrapper” style=”padding-top: 56.21212121212121% !important;”>

    How can I fix It?
    I already tried by updating the core php file, but nothing.
    Why it works so bad?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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

    Plugin Author embedplus

    (@embedplus)

    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?

    For example this one: https://www.laiguana.tv/articulos/744469-casos-covid-19-venezuela-comunitarios/

    I upgraded to Pro and the problem came back.

    Plugin Author embedplus

    (@embedplus)

    Hi @arnoldoe,
    We just emailed you and stated the Pro update that’s coming out later today will solve the issue.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Too much padding impossible to rewrite’ is closed to new replies.