Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #881936

    please take a look at the link in the private content
    1st slide (in the fullscreen slider) is video,
    2nd slide is picture and 3rd is also picture
    i set the transition to fade but instead of smooth fade there’s a “white flash” between first and second slide
    on other other hand the transition between second and last slide is a smooth fade like it should be
    i suspect the problem is due the video in the first slide
    i.e the theme can’t really fade between video and picture – is that true?
    and ..is there a way to work around this problem?

    #881977

    Hey Doron,

    Fading a video is a customisation. Here you can see an example

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

    #882407

    Hi Victoria
    thanks for the example
    in order to use it with enfold i need to give my video a custom css class which is not possible since it’s inside a slide of a full screen slider
    but.. maybe i can still make it work if I know it’s current class
    can you help me with that?

    #883645

    Hi,

    If you enable the custom class

    You can not target the video with that?

    Best regards,
    Basilis

    #884964

    of course I’ve enabled the custom class field
    but it gives me option to set a class to the whole full screen slider, not to each slide
    anyway..i think.. instead of slider with mixed content (pictures and video) may be I should simply try putting one long video as a color section background
    so.. if there isn’t an easy solution, you can close the ticket
    sorry for all the hassle

    #885892

    Hi,

    in order to use it with enfold i need to give my video a custom css class which is not possible since it’s inside a slide of a full screen slider

    Use the css child selector. Example.

    .avia-slideshow li:nth-child(1) {
       /* css code here */
    }

    The css declaration above will only affect the first slide inside the slider.

    // https://css-tricks.com/useful-nth-child-recipies/

    Best regards,
    Ismael

    #885995

    great! it works!!
    but there are couple of glitches
    1. caption only appear in the second slide (although it’s configured be on first slide with the video as well)
    2. when the slider reaches the last slide it stops (although it’s configured to loop)
    is there a way to fix it?

    #886907

    Hi,

    What are the css modifications? It seems to be an issue with the media element script. Please try to upgrade to version 4.2.

    Best regards,
    Ismael

    #886973

    Hi
    I will upgrade to 4.2 as soon as possible
    here is the css code i used (i took it from https://codepen.io/gerbata/pen/jBaggE as Victoria suggested)

     /* home page slider video fade out*/ 
    
    @keyframes fade-in {
        from {
            opacity:0;
        }
        to {
            opacity:1;
        }
    }
    @-moz-keyframes fade-in { /* Firefox */
        from {
            opacity:0;
        }
        to {
            opacity:1;
        }
    }
    @-webkit-keyframes fade-in { /* Safari and Chrome */
        from {
            opacity:0;
        }
        to {
            opacity:1;
        }
    }
    @-o-keyframes fade-in { /* Opera */
        from {
            opacity:0;
        }
        to {
            opacity: 1;
        }
    }​
    @keyframes fade-out {
        from {
            opacity:1;
        }
        to {
            opacity:0;
        }
    }
    @-moz-keyframes fade-out { /* Firefox */
        from {
            opacity:1;
        }
        to {
            opacity:0;
        }
    }
    @-webkit-keyframes fade-out { /* Safari and Chrome */
        from {
            opacity:1;
        }
        to {
            opacity:0;
        }
    }
    @-o-keyframes fade-out { /* Opera */
        from {
            opacity:1;
        }
        to {
            opacity: 0;
        }
    }
    
    .avia-slideshow li:nth-child(1) {
    	opacity: 1;
    
        -moz-animation: fade-out 3s ease-in forwards; /* Firefox */
        -webkit-animation: fade-out 3s ease-in forwards; /* Safari and Chrome */
        -o-animation: fade-out 3s ease-in forwards; /* Opera */
        animation: fade-out 3s ease-in forwards;
        -moz-animation-delay: 17s;
        -webkit-animation-delay: 17s;
        -o-animation-delay: 17s;
        animation-delay: 17s;
    	}
    }
    #887677

    Hi,

    There is an extra curly brace at the very end of the css modifications which is not needed.

    Best regards,
    Ismael

    #888795

    Hi
    sorry it took me so much time to respond
    1. updated WordPress and Enfold to the latest version
    2. removed the extra curly brace

    now we have 3 problems instead of 2:
    1. caption still appear only in the second slide (although it’s configured be on first slide with the video as well)
    2. when the slider reaches the last slide it stops (although it’s configured to loop)
    3. the worst one – video isn’t full screen anymore!
    instead there is a huge black frame and the video is shrinked the the right side of the screen

    please take a look at the screen shot and/or the link in the private contenet

    please help me fix it (at least let’s fix issue number 3..)

    #888798

    update:
    for the video not being full screen i add the flowing CSS and so far it seems to fix the problem
    (but the other two problems are still there):

     /*  video not full-screen bug */ 
    .mejs-container {
      width: 100% !important;
    }
    video {
        height: auto !important;
    }
    • This reply was modified 6 years, 5 months ago by Doron.
    #889723

    the caption appearing only in the second slide is tolerable
    but the slider getting stuck on the last slide – that’s a bummer
    ..may be it’s because the slider reaches the first slide again and it’s waiting for the video to finish but .avia-slideshow li:nth-child(1) is now in opacity o instead of 1 so it’s not working ?
    is there a way to reset the opacity of the slide and may be it wont stuck the slider from looping?
    or maybe there isn’t and so maybe i should give up about the video fading thing?

    #891914

    Hi,

    I’m not sure why it work that way. Have you tried using the layer slider?

    Best regards,
    Ismael

    #891915

    Hi,

    I’m not sure why it work that way. Have you tried using the layer slider?

    Best regards,
    Ismael

    #891956

    I haven’t
    you are right
    i will give it a try
    thanks
    and happy holiday!

    #891970

    Hi,

    Let us know if you need further assistance. Happy Holiday :)

    Best regards,
    Nikko

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