Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #539337

    Hi

    I’ve seen several topics on this, but what’s the best way to force videos to play in the easy slider on mobile?

    I don’t want videos to autoplay for bandwidth/data reasons, I just need the ability to play a vimeo or youtube video on mobile that I have in the easy slider. I have a simple video gallery on my site and most of my users are on mobile — so the fallback image does not help.

    Any suggestions?

    • This topic was modified 8 years, 12 months ago by codemode.
    #540041

    Hi!

    Have you tried linking the slide to the video? that would create a lightbox popuo where the video will play once the slide is clicked.

    Regards,
    Josue

    #540293

    Hi Josue

    Great suggestion, however, I need the videos to play natively in the slider on both desktop and mobile (no still images or fallback images).

    I saw this from another post. Will that work with the latest version?

    You can force videos to play on mobiles but this is not supported, open js/shortcodes.js and change line 683:

    this.isMobile = $.avia_utilities.isMobile;

    To:

    this.isMobile = false;

    • This reply was modified 8 years, 12 months ago by codemode.
    #540605

    It could, that part should be around line 4015 in the latest version.

    Regards,
    Josue

    #541299

    No luck. I’m using the easy slider and put Vimeo links in a few slides. Works just fine on desktop, but on mobile, its still showing the message to set a fallback image in the wordpress backend.

    Note: I did try the linking the slide to a video, however, on desktop, it plays in the slider AND launches the lightbox. How would I disable the lightbox on desktop just for easy sliders that have video? (I want to keep the lightbox for the other sliders that have images).

    Thanks!

    #541396

    Hi,

    Can you post the link to the Page where you’re trying this please?

    Regards,
    Josue

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