Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1096497

    Is it possible to get the Ken Burns effect to work on the Full Width Slider? My slider has a mix of video and images and it looks extremely bland going from a video to a still image. I found some instructions to do this here: https://dev.triebcraft.de/ken-burns-like-effect-with-the-fullwidth-easy-slider/

    Any idea if this will work with a slider that contains 1 video and several images? Also, some better instructions on setting this up would be great. I tried, but had no luck.

    Developers: it would be great to include the Ken Burns effect on the Full Width Layer slider in the next update. I also hear this is possible with the Advaned Layer Slider module, but that is not in my Enfolds installation.

    • This topic was modified 5 years, 6 months ago by htm2112.
    #1096713

    I was able to figure this out.

    #1096745

    Hi,

    Great, I’m glad that you found a solution and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1246893

    Hi htm 2112! I´m now in the same situaton as you 1,5 years ago.
    Would you mind telling me how you did it? (Ken Burns effect)

    THANK YOU!

    lisa

    #1246920

    Hi lkoloseus,

    You can see the css here:

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1246977

    well on Victorias link the wrapping container in enfold for the images is: avia-slide-wrap

    i would give a custom-class to the slideshow you like to influence – f.e.: kenburns
    then it will be nice if only the active slide is doing that – so when i transpose the code from code pen to enfold classes :

    .kenburns .active-slide .avia-slide-wrap {
      width: 100%;
      height: 56.25vw;
      margin: 0 auto;
      overflow: hidden;
      position: relative;
    }
    
    .kenburns .active-slide .avia-slide-wrap img {
      width: 100%;
      animation: move 20s ease infinite alternate;
      -ms-animation: move 20s ease infinite alternate;
      -webkit-animation: move 20s ease infinite alternate;
      -0-animation: move 20s ease infinite alternate;
      -moz-animation: move 20s ease infinite alternate;
      position: absolute;
    }
    
    @-webkit-keyframes move {
      0% {
        -webkit-transform-origin: center center;
        -moz-transform-origin: center center;
        -ms-transform-origin: center center;
        -o-transform-origin: center center;
        transform-origin: center center;
        transform: scale(1.0);
        -ms-transform: scale(1.0); 
        -webkit-transform: scale(1.0);
        -o-transform: scale(1.0);
        -moz-transform: scale(1.0);
      }
      100% {
        transform: scale(1.2);
        -ms-transform: scale(1.2);
        -webkit-transform: scale(1.2);   
        -o-transform: scale(1.2);
        -moz-transform: scale(1.2);
      }
    }

    don’t know if all cross-browser settings are neccessary today – but i let them stay in the quick css code.
    Important: see ( height: 56.25vw; ) if the width of the slider is 100vw then a 16:9 height will be approx: 56.25vw
    The Code Pen Code only works nice if you have set a hight on that and that should reflect the aspect ratio well.
    So it might be nice to have for Slideshows having a film slide with 16:9 format – the images got the same size on that.
    I have on that testpage images of that format.:
    https://webers-testseite.de/slider-with-kenburns/

    #1246981

    Thank’s a lot!

    I already downloaded the Plugin “Smart Slider 3 Pro” but it cant be used within die Advanced layout, only in the Default Gutenberg.
    But I definitly want to work on with the advanced.
    Is there a solution?

    Kind regards, Lisa (Vienna)

    #1247075

    Did you try that above code ?
    the above link to my testpage is made with the alb elements –
    ___________________
    Whatever; the advanced layerslider allready has that ken burns implemented.
    Ken Burns is something that influences the background-image – on top of the advanced layout slider you have:

    Press that “Show more options” Button.
    then you see the options for ken burns:

    #1247248

    Hi,

    Thanks for helping out @guenni007, did you try that out and did you have any luck with it @lkoloseus?

    Best regards,
    Rikard

    #1301011

    Hello, hope you are all ok.

    Sorry to come back to this.
    I managed to implement the css given by @Guenni007, in an Easy Slider and it almost works perfectly.

    When I load the page where the slider is, or refresh that page, the first slide grows down and is not within the size of the slide.
    When you go to slide two and the other slides it is ok.

    The photos are all the same size 1200x780px.

    Someone can help me?

    https://bit.ly/3hAB6qm

    Regards

    #1301054

    Hi,
    I’ve already managed to solve it by adjusting some code, this is all that it needs:

    .kenburns .active-slide .avia-slide-wrap img {
      animation: move 20s ease infinite alternate;
      -ms-animation: move 20s ease infinite alternate;
      -webkit-animation: move 20s ease infinite alternate;
      -0-animation: move 20s ease infinite alternate;
      -moz-animation: move 20s ease infinite alternate;
    }
    
    @-webkit-keyframes move {
      0% {
        -webkit-transform-origin: center center;
        -moz-transform-origin: center center;
        -ms-transform-origin: center center;
        -o-transform-origin: center center;
        transform-origin: center center;
        transform: scale(1.0);
        -ms-transform: scale(1.0); 
        -webkit-transform: scale(1.0);
        -o-transform: scale(1.0);
        -moz-transform: scale(1.0);
      }
      100% {
        transform: scale(1.2);
        -ms-transform: scale(1.2);
        -webkit-transform: scale(1.2);   
        -o-transform: scale(1.2);
        -moz-transform: scale(1.2);
      }
    }

    Thank you

    #1301191

    Hi luismiguelsantos,

    Great, I’m glad that you found a solution, and thanks for sharing it :-)

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.