-
AuthorPosts
-
November 20, 2015 at 3:33 am #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 9 years, 11 months ago by
codemode.
November 21, 2015 at 3:07 am #540041Hi!
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,
JosueNovember 22, 2015 at 1:36 am #540293Hi 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 9 years, 11 months ago by
codemode.
November 23, 2015 at 10:51 am #540605It could, that part should be around line 4015 in the latest version.
Regards,
JosueNovember 24, 2015 at 2:46 am #541299No 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!
November 24, 2015 at 9:49 am #541396Hi,
Can you post the link to the Page where you’re trying this please?
Regards,
Josue -
This topic was modified 9 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
