Hello,
I was trying to insert a HTML video tag when the user is on Desktop, and just don't do it if on Mobile, instead of using a Display:none on the video tag if user is mobile.
I was able to write this code, it works, it does insert the HTML Video tag, but for some reason I couldn't firgure out, it's not playing automatically. Even if I click on it nothing would happen.
I know I'm probably missing something in JS code, but I'm not sure what it could be.
The end result is the same as if I would have added the HTML tag on its own, but it's not playing.