Streaming live at 10am (PST)

Stop Background Video from Looping

Please help! I have tried every previous forum suggestion and this darn video keeps looping!
Its the video with the phone mockup.


Here is my site Read-Only: Webflow - Corey Jameson UX Design

<script>
const bgVideoElement =  document.querySelector("#video")
stopBgVideoFromLooping(bgVideoElement )


function stopBgVideoFromLooping (bgVideoEl){
	bgVideoEl.querySelector('video').removeAttribute('loop')
}
</script>

This darn code should work. :stuck_out_tongue:

Simplify version:

// #video  is your background video component's ID
$('#video video').attr('loop',false)