New Landing How can we help? Cardinal Swiflt slider video mute

Viewing 15 posts - 1 through 15 (of 20 total)
  • Posted in: Cardinal
  • #122867
    Kirsten
    Member
    Post count: 234

    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 button

    Thank you.

    Kirsten

    #122874
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Not sure if it’s feasible, will forward to the development team so they can reply.

    -Rui

    #123004
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @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

    #123010
    Kirsten
    Member
    Post count: 234

    Hi Ed, somehow the first one doesn’t work with me although I have the latest theme files installed. Any idea on whats going on?

    #123066
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @Kirsten

    How can you tell? I can’t hear any audio output from the Swift Slider video?

    – Ed

    #123104
    Kirsten
    Member
    Post count: 234
    This reply has been marked as private.
    #123388
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @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

    #123393
    Kirsten
    Member
    Post count: 234

    Yeah 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/

    #123503
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks 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

    #123684
    Kirsten
    Member
    Post count: 234

    Done!

    #123946
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
    This reply has been marked as private.
    #123972
    Kirsten
    Member
    Post count: 234

    Thanx 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?

    #124191
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Give 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();   
            } 
    });
    #124450
    Kirsten
    Member
    Post count: 234

    The script is in custom options but no result. Check the page http://landmark105.com/home-test-2/

    #124468
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    The script is there but is trowing one error when clicking in the fullscreen.
    https://www.dropbox.com/s/0n24c7tq9oyd59e/fullscreen-mute.png?dl=0

    I’m not understanding why. let’s wait for Ed.

    -Rui

Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register