Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1097721

    I’ve just managed to get through the manual update procedure for 4.5.1, and things have gone screwy with my Layerslider WP…

    I have two sliders – one is an image based one, which seems to be working fine. The other is just one slide, with a video set as ‘slide background’. Everything is set to autoplay and loop (or at least it was, and worked fine before), with all navigation controls turned off. However, when I load the page, the video appears paused, with the ‘play’ button at the centre. When I click the play button (or anywhere within the slider), it opens one of my videos (not the one set to play in the slider) in a lightbox, even though I have nothing set under ‘Link & Attributes’. It’s possible I might have, at some point, had it linked in this way, but not any more, as far as I can tell. Is there some piece of code hanging around in the background somewhere? I’ve cleared my caches and such – nothing seems to help.

    I notice that LayerSlider WP needs updating (I’m on 6.8.1 – the latest version is 6.8.3), but appreciate this cannot be done outside of an Enfold update without paying.

    Anyone got any ideas?

    #1097964

    Hey Tom,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. Also please point out where and how we can reproduce the problems you are having.

    Best regards,
    Rikard

    #1098889

    Hi Rikard,

    Thanks for your response, and sorry for the delay getting back to you.

    Have added the email address and link to the private content, as per your instructions. I hope that’s everything you need.

    The LayerSlider WP that appears beneath the header, when you open the home page on a desktop (it’s set to a different slider when opening on a mobile device, which uses images, and appears to be functioning correctly) contains one video layer. However, it does not autoplay without navigation controls, as it should/used to, but instead remains paused, with a play button visible. When you click to play the video (or anywhere inside the slider), a different video from my portfolio opens in a lightbox window.

    Any help muchly appreciated!

    All the best,

    Tom

    #1100069

    Hi, Just wondering if this one has slipped through the cracks… should I re-post?

    #1100158

    Hi,

    Thanks for the update.

    We added a few parameters in the video to have it play automatically on page load.

    <iframe src="https://player.vimeo.com/video/274119111?loop=1&autopause=0&muted=1" width="640" height="360" frameborder="0" mute="" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
    

    Unfortunately, you can no longer auto play a video without muting it because of the new media policy.

    // https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

    Chrome’s autoplay policies are simple:

    Muted autoplay is always allowed.
    Autoplay with sound is allowed if:
    User has interacted with the domain (click, tap, etc.).
    On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously play video with sound.
    On mobile, the user has [added the site to their home screen].
    Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.

    Best regards,
    Ismael

    #1100192

    Thanks Ismael – it seems to be working now. I wanted it to be muted, so no problem there.

    Do you know why the problem was occurring? If I change the video, will it be a problem again?

    Also, there’s still a link from the slider, which brings up a different video in a lightbox. It’s not a deal-breaker or anything, but I still don’t really understand why things went wrong…

    #1100548

    Hi,

    Thanks for the update.

    It is because of the new media autoplay policy as mentioned previously. The video has to be muted in order for it to auto play on page load.

    Best regards,
    Ismael

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