Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1278569

    Hey, just a few months ago I had background video working in the color sections, on mobile — for example on https://justiceforsaweto.org/ — do you know, did Safari/iOS just disable that recently, like within the last few months? Thanks!

    #1279038

    Hey sky19er,

    Thank you for the inquiry,

    Video backgrounds are disabled on mobile view by default, which is why a fallback image option is available. So it is impossible that it was working a few months back because it has been the the default behavior ever since. You may need to look for a different solution if you want the video to play on mobile view, such as using the Layer Slider.

    Best regards,
    Ismael

    #1279273

    Thanks, Ismael, but I just reloaded https://justiceforsaweto.org/ on my phone and it’s working again — the background video’s playing! I just updated my iOS last night — I wonder if that’s what fixed it. Hmm…. yeah, so, I don’t know if this helps anyone, but, as of now, adding ?background=1 to the end of a vimeo url in the Background Video options of a Color Section (https://www.screencast.com/t/nqfry1qy) seems to work in iOS 14.4. I welcome any other comments/info on this, though. Thanks again!

    #1279428

    Hi,

    Thank you for the update.

    That is quite odd. It is not possible unless the enfold\config-templatebuilder\avia-shortcodes\slideshow\slideshow.js file has been modified. This code in the _prepareSlides function around line 171 renders the fallback image on mobile view and replaces the video.

    
    				var alter = this.$slider.find('.av-mobile-fallback-image');
    				alter.each(function()
    				{	
    					var current  = $(this).removeClass('av-video-slide').data({'avia_video_events': true, 'video-ratio':0}),
    						fallback = current.data('mobile-img'),
    						fallback_link = current.data('fallback-link'),
    						appendTo = current.find('.avia-slide-wrap');
    

    Best regards,
    Ismael

    #1279569

    But this is a Color Section, not a Slider — maybe that’s where the confusion/distinction lies? Also there’s no fallback image option in the Background Video options for the Color Section. Did you check my screencast? https://www.screencast.com/t/nqfry1qy. Thanks and let me know if you haven any other questions.

    #1279995

    Hi,

    The fallback image is also the Background Image, and you have to enable the Hide video on Mobile Devices? option.

    Hide video on Mobile Devices?
    You can choose to hide the video entirely on Mobile devices and instead display the Section Background image
    Most mobile devices can’t autoplay videos to prevent bandwidth problems for the user

    Alternative solution is to use the layer slider instead of the color section.

    Best regards,
    Ismael

    #1280704

    Ah, I see — thanks. So maybe it’s only working in iOS, eh? Are you able to check if the video on https://justiceforsaweto.org/ is working in Android, by chance? Thanks again, Ismael!

    #1281977

    Hi,

    The video plays automatically on a phone running on MIUI, which is a modified version of Android, so it should run properly on any Android devices.

    Thank you for your patience.

    Best regards,
    Ismael

    #1282032

    Nice — thanks for checking that! So, I guess this little trick is working for some reason, eh? At least for now — maybe the browsers will clamp down further in the near future ;). Thanks again, Ismael!

    #1282140

    Hi,

    Did you need additional help or shall we close?

    Best regards,
    Jordan Shannon

    #1282330

    No, that’s ok — you can close, thanks.

    #1282451

    Hi sky19er,

    Great :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘background video no longer working in mobile’ is closed to new replies.