Tagged: Fade, fullscreen slider, video
-
AuthorPosts
-
November 26, 2017 at 5:48 pm #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?November 26, 2017 at 7:20 pm #881977Hey Doron,
Fading a video is a customisation. Here you can see an example
If you need further assistance please let us know.
Best regards,
VictoriaNovember 27, 2017 at 11:35 pm #882407Hi 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?December 1, 2017 at 12:10 am #883645Hi,
If you enable the custom class
You can not target the video with that?
Best regards,
BasilisDecember 5, 2017 at 11:01 am #884964of 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 hassleDecember 7, 2017 at 4:31 am #885892Hi,
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,
IsmaelDecember 7, 2017 at 10:15 am #885995great! 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?December 9, 2017 at 5:17 pm #886907Hi,
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,
IsmaelDecember 9, 2017 at 9:01 pm #886973Hi
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; } }
December 12, 2017 at 3:14 am #887677Hi,
There is an extra curly brace at the very end of the css modifications which is not needed.
Best regards,
IsmaelDecember 14, 2017 at 9:49 am #888795Hi
sorry it took me so much time to respond
1. updated WordPress and Enfold to the latest version
2. removed the extra curly bracenow 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 contenetplease help me fix it (at least let’s fix issue number 3..)
December 14, 2017 at 10:05 am #888798update:
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 7 years ago by Doron.
December 17, 2017 at 12:28 am #889723the 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?December 24, 2017 at 4:36 am #891914Hi,
I’m not sure why it work that way. Have you tried using the layer slider?
Best regards,
IsmaelDecember 24, 2017 at 4:37 am #891915Hi,
I’m not sure why it work that way. Have you tried using the layer slider?
Best regards,
IsmaelDecember 24, 2017 at 8:42 pm #891956I haven’t
you are right
i will give it a try
thanks
and happy holiday!December 25, 2017 at 5:00 am #891970Hi,
Let us know if you need further assistance. Happy Holiday :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.