I’m trying to create a module with video as a background and am having trouble grabbing the video source. I’ve looked at the builder plugin modules to see what I can replicate, but I think I’m over-complicating things. Here is a piece of the code I have:
<video class="background-video" loop muted autoplay poster="<?php echo $settings->bg_video_fallback_src; ?>"> <source src="<?php echo $settings->bg_video_webm; ?>" type="video/webm"> <source src="<?php echo $settings->bg_video; ?>" type="video/mp4"> </video>
Would it be possible to be pointed in the right direction? Thanks as always.