Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #323805

    I’m using a youtube video as a background video on a colored section. How do I stop it from continually looping. I just want it to play once and stop so I can overlay content over it. What I’m trying to do is to have video run thru once, then stop and I want to overly some text on it. My problem is this seems to be the only way to get the video to be full screen. I’ve tried using different sliders, but I can’t seem to get them to load the video full screen.

    Thanks,
    Steve

    #324707

    Hi svreatt!

    Thank you for using Enfold.

    Please edit config-templatebuilder > avia-shortcodes > section.php, find this code on line 489:

    'video_loop' => true,
    

    Replace it with:

    'video_loop' => false,
    

    Cheers!
    Ismael

    #324922

    Thanks,
    Where do I find this? I didn’t see in the editor section?

    #324926

    Hi!

    Please access the file via FTP

    Regards,
    Yigit

    #325293

    Thanks,
    That did the trick. It there a way to make the video responsive? That way it alway looks good no matter what size screen or layout. I’m using a 16:9 ratio and it only looks good your browser widow is set that way. That way if someone resizes their window the movie still looks good. Right now it cuts off if you resize the widow to a different ratio.

    #325477

    Hi!

    Glad the solution worked. Please post the link to the actual page with the video background. We would like to inspect it. The video should be responsive by default.

    Cheers!
    Ismael

    #325675

    Here’s the link.

    http://xtrememotorsports.photography/test/

    Thanks

    #326973

    Hey!

    Thank you for the link.

    Please try to add this on Quick CSS or custom.css to adjust the height of the video:

    #top #av_section_1 .av-section-video-bg iframe, #top #av_section_1 .av-section-video-bg embed, #top #av_section_1 .av-section-video-bg object, #top #av_section_1 .av-section-video-bg video {
    height: 592px !important;
    top: 0;
    }

    Cheers!
    Ismael

    #331291

    Thanks, but that didn’t work. It just made the video one size.

    #332019

    Hi!

    Thank you for the update.

    Even without the suggested code above, the video is responsive. You need to use media queries in order to control the height of the video on different screen sizes.

    Best regards,
    Ismael

    #643235

    Hi there,

    I have turned the loop to false but the video is still looping – see here http://steel.neptunedesign.com.au/

    Thanks,
    Nep Thach

    #643687

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • the URL to the login screen
    • a valid username (with full administration capabilities)
    • as well as a password for that username

    Best regards,
    Andy

    #643754

    Hi Andy,

    See details below, just like the video stop looping finish at the last frame you know :)

    Thanks,
    Nep

    #644488

    Hi,

    We tested the same video in our installation, modified the section.php file and the loop stopped. Did you modify the section.php file? Please post the FTP details here so that we can check it.

    Best regards,
    Ismael

    #645201

    Thanks Isamel,

    Yes, I am sure i have please find the details below.

    #646055

    Hi,

    It’s not working because the section.php file is duplicated. We deleted the section-back.php file then set the “video_loop” parameter to 0.

    Best regards,
    Ismael

    #665501

    Jumping in here if it’s ok. This works but what about for a child theme? I tried to make a copy of the edited sections.php and add it to my child theme files, both in the same folder directory as well as just putting it in the main theme files folder. Neither worked. I change the sections.php according to these directions in the enfold theme, and it works. But, I hate to modify enfold theme files then have them not work correctly when the theme upgrades or have to remember to change this file every upgrade (which I won’t).

    • This reply was modified 8 years, 3 months ago by Ria.
    #666450

    Hi,

    I’m sorry but you won’t be able to override the shortcode file in a child theme. Actually, you can but the workaround is not “update-proof”. More info here: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Ismael

    #965596

    Hello,

    Bringing up an old thread, but I cant find the video_loop function as of 6.1.2018. Is there another section it’s moved to?

    #966300

    Hi,

    It’s the same section.php file, line 1049.

    'video_loop' => true,
    

    Best regards,
    Ismael

    #974799

    Hi,

    strange, but true. I did everything as described above, but the video is still looping.
    Embedded a HTML5 Video from the media library, changed the code as described, there is no duplicate section.php there – but still it loops.

    Cheers, Werner

    #975083

    Hi,


    @wenzerl
    : Please create a new thread with the site url and the login credentials. We’d like to check it there.

    Best regards,
    Ismael

Viewing 22 posts - 1 through 22 (of 22 total)
  • The topic ‘Background video’ is closed to new replies.