Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #401819

    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.

    #402463

    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

    #405462

    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?

    #406185

    Hi!

    Try the following:
    https://kriesi.at/support/topic/video-background-mobile/

    Regards,
    Josue

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