I’m having an issue with video. I’m using the following code:
<video class="video-intro" autoplay loop muted> <source src="https://staging.coverr.co/s3/mp4/Meeting-Room.mp4" type="video/mp4"> </video>
Then I create a Customizer Section and a Customizer and Customizer Control. No problem with that.
But after a user has choosen a video source in the Customizer (which works), the video isn’t played. This is because I’m not sure what to do with the “Theme Mod to Attribute” thing. Currently it is set to:
Theme mod: video1
Add IF Statement: checked
But when I investigate the compiled code in my browser, it says:
And although the video is item 81, this way the video won’t play of course.
Can anyone point me in the right direction please?
Thank you very much,