Avada Forums Community Forum Container Background MP4 Video Not Playing on Mobile


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • bill@emancipare.com
    Post count: 4

    I added a background MP4 video to a container at the top of my home page (Avada 7.8.1) and it works great on desktop, but only the static image I provided shows on my tablet and phone (both android/Chrome). The video is 58m in size, H.264, 4096 x 2160, 16:9, muted, looped. I researched this and put the CSS below in the functions.php in the wp-content->themes->Avada (and Avada-Child-Theme) directories but it still doesn’t work (need to ask SiteGround to restart it or something to read the new functions.php?). Website is emancipare.com

    // Enable video header support on mobile devices
    add_filter( ‘header_video_settings’, function( $args ) {
    $args[‘minWidth’] = 0;
    return $args;

    } );

    Post count: 4

    No love on this one?

    Ammar. S
    Post count: 2333

    Hello There

    Most mobile phones will not render the self hosted videos actually, we suggest you to try and use a YouTube or Vimeo hosted video in this case.



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