I’ve read the directions for adding a video background but as I am new I need to ask for more specific help. Exactly where should I paste the code found here Background Control – Bricks Academy? I pasted it into my functions.php file of my child theme and got errors.
Also can you specify how to do this?
“load the bricksBackgroundVideoInit script and use the BricksFrontend::get_element_background_video_wrapper() method to render it.”
Could you give me more context on what exactly you’re trying to accomplish? I’m not sure if you’re trying to develop your own custom elements or just add background video to a Bricks element.
I should be able to help you better with that extra information.