Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Swiflt slider video mute
New Landing › How can we help? › Cardinal › Swiflt slider video mute
- This topic has 19 replies, 3 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Cardinal
-
October 24, 2014 at 8:36 am #122867
Hello,
I have a question about the volume option on the Swift Slider. I have a videoloop on my homepage window height, with a full-screen-video shortcode as content. Is it possible to make the volume of the swift slider mute on:
1. Scrolling on the homepage
2. Cicking the full screen video buttonThank you.
Kirsten
October 24, 2014 at 9:03 am #122874Hi,
Not sure if it’s feasible, will forward to the development team so they can reply.
-Rui
October 24, 2014 at 2:54 pm #123004Hi @Kirsten
#1 should already be active, as it pauses when out of sight.
#2 would be a little trickier, although we’ll add it to the list.Thanks,
– Ed
October 24, 2014 at 3:13 pm #123010Hi Ed, somehow the first one doesn’t work with me although I have the latest theme files installed. Any idea on whats going on?
October 24, 2014 at 8:12 pm #123066October 25, 2014 at 7:45 am #123104This reply has been marked as private.October 27, 2014 at 2:17 pm #123388Hi @Kirsten
Please could you set this up on a test page for me to check? That way you can set it independently to the live page.
– Ed
October 27, 2014 at 2:30 pm #123393Yeah sure, here it is, copy of the page and a copy of the slider with the volume turned on: http://landmark105.com/home-test-2/
October 27, 2014 at 6:54 pm #123503Thanks for that. Could you please temporarily turn off the performance mode in Theme Options > General > Performance, just so I can debug on the site.
– Ed
October 28, 2014 at 12:43 pm #123684Done!
October 29, 2014 at 6:17 am #123946This reply has been marked as private.October 29, 2014 at 8:19 am #123972Thanx Ed, that worked like a charme!
And my second point, is it possible to do that with a class assigned to the video play button and a piece of script in the custom css/js?
October 29, 2014 at 3:41 pm #124191Give this a try:
jQuery('.fw-video-link').on('click', function() { var slideVideo = jQuery( '#swift-slider-1' ).find('.swiper-slide-active video'); if (slideVideo.length() > 0) { slideVideo.get( 0 ).pause(); if ( slideVideo.get( 0 ).currentTime !== 0 ) { slideVideo.get( 0 ).currentTime = 0; } } }); jQuery('.fw-video-close').on('click', function() { var slideVideo = jQuery( '#swift-slider-1' ).find('.swiper-slide-active video'); if (slideVideo.length() > 0) { slideVideo.get( 0 ).play(); } });
October 30, 2014 at 11:35 am #124450The script is in custom options but no result. Check the page http://landmark105.com/home-test-2/
October 30, 2014 at 12:18 pm #124468Hi,
The script is there but is trowing one error when clicking in the fullscreen.
https://www.dropbox.com/s/0n24c7tq9oyd59e/fullscreen-mute.png?dl=0I’m not understanding why. let’s wait for Ed.
-Rui
-
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.