Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1211464
    elizaabola
    Participant

    Hi! So I’ve been having a problem with revolution slider. For some reason this one slider keeps zooming in on the video background when I don’t want it to. I can’t figure out why it’s zooming in. I’ve made 2 other sliders with video backgrounds with the exact same settings, but only this one slide is zooming in.

    This is the page with the zooming slider:
    http://youronlinecoachjosh.com/top-tier-traffic/

    These are the pages with the non-zooming sliders:
    http://youronlinecoachjosh.com/top-tier-funnels/
    http://youronlinecoachjosh.com/top-tier-coaching/

    #1211466
    elizaabola
    Participant
    This reply has been marked as private.
    #1211617
    Rupok
    Member

    Hi there,

    It seems they are covering in same ratio so the zoom level is same as well. But the video you are referring has the object on bottom lower part so it looks zoomed when it’s same as other.

    You can try adding this under Custom > CSS in the Customizer.

    .rev_slider video {
      object-fit: none !important;
    }

    Or just use this for larger screens :

    @media only screen and (min-width: 1400px) {
    .rev_slider video {
      object-fit: none !important;
    }
    }

    Hope this helps.

    #1211658
    elizaabola
    Participant

    That fixed it! Thank you! Just so I understand, though, could you explain to me what object that video had that made it zoom? Thanks again you guys are great!

    #1211693
    elizaabola
    Participant

    Actually on second thought, the css rules you sent me make the video ignore the height and width of its parent container. I want the video to be full width, but without the zoom. I think if you explain to me what that object is in the video in question that is causing it to zoom I could fix the slide.

    Thanks!

    #1212441
    Lely
    Moderator

    Hi There,

    Please check this:https://css-tricks.com/almanac/properties/o/object-fit/
    By default it is set to cover.
    Try updating the CSS to this instead:

    @media only screen and (min-width: 1400px) {
    .rev_slider video {
      object-fit: contain !important;
    }
    }

    Hope this helps.

    #1212901
    elizaabola
    Participant

    Ok that did it. Thanks!

    #1213110
    Rahul
    Moderator

    Glad it worked for you.

    Let us know if we can help with anything else.

    Thank you.

  • <script> jQuery(function($){ $("#no-reply-1211464 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>