Comments 1sempolak started the conversationSeptember 8, 2020 at 8:56pmI would like to make an hover video when hover over portfolio items. But i cant make it happen anywhere. Now the hovers only works with title's or links. How can u do an hover like this: https://www.finalkid.com/work/ This is also made with Salient. 8,849Tahir repliedSeptember 9, 2020 at 9:25amHey,They seem to have used this custom JS code: <script> jQuery(document).ready(function($){ var figure = $(".vert-center").hover(hoverVideo, hideVideo); function hoverVideo(e) { $('video', this).get(0).play(); } function hideVideo(e) { $('video', this).get(0).pause(); $('video', this).get(0).currentTime = 0; } }); </script> and added the Video Object via a Portfolio Custom Content Item.Click Image to View Larger.Thanks ThemeNectar Support Team 1 Like 1sempolak repliedSeptember 13, 2020 at 3:24pmSo can I use this code with a Lightbox video? 8,849Tahir repliedSeptember 14, 2020 at 10:30amHey Again,The code provided is being used in their Portfolio Element and is not connected to the Lightbox. Try using our pre-built layouts: http://themenectar.com/docs/salient/salient-studio/ . Thanks ThemeNectar Support Team 1 Like 16Josée repliedNovember 9, 2020 at 7:40pmHi , I try to reproduce that, because I need as well the same behavior. When you say : "added the Video Object via a Portfolio Custom Content Item"... what is that custom-content item?Thanks! 8,849Tahir repliedNovember 10, 2020 at 11:36amHey Again,It added in here: Click To Open Larger Image.Thanks ThemeNectar Support Team 1 Like Sign in to reply ...
I would like to make an hover video when hover over portfolio items.
But i cant make it happen anywhere.
Now the hovers only works with title's or links.
How can u do an hover like this: https://www.finalkid.com/work/
This is also made with Salient.
Hey,
They seem to have used this custom JS code:
and added the Video Object via a Portfolio Custom Content Item.
Thanks
ThemeNectar Support Team
So can I use this code with a Lightbox video?
Hey Again,
The code provided is being used in their Portfolio Element and is not connected to the Lightbox. Try using our pre-built layouts: http://themenectar.com/docs/salient/salient-studio/ .
Thanks
ThemeNectar Support Team
Hi ,
I try to reproduce that, because I need as well the same behavior. When you say : "added the Video Object via a Portfolio Custom Content Item"... what is that custom-content item?
Thanks!
Hey Again,
It added in here:
Thanks
ThemeNectar Support Team