Hello!
I love that you can easily link in video from either YouTube or Vimeo for use as a background video in a color section. I note that these videos will not play on my iPad 2, and instead bring up the background photo. Is there some way to alter that behavior so that the background videos play on the iPad, but not on smaller devices? You can try this out using the link below.
Hi James!
Thank you for using Enfold.
I haven’t tested this personally but try to edit js > avia.js, look for this code:
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement)
Remove the “iPad”:
if( /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement)
Or use the Layer Slider instead of the color section. https://kriesi.at/support/topic/layerslider-zoom-video-to-fill-banner-space/#post-327976
Best regards,
Ismael
Hi Ismael,
Unfortunately, editing the avia.js css file with your recommended change doesn’t enable background video playback on the iPad. Any other thoughts on how to do this?