Hi, for the life of me I don't know where to put the autoplay and loop, here's my current attempt. the video loads but it doesnt play
vid.html('<video id= "video1" style="position: absolute;bottom: 0px; right: 0px; min-width: 100%; min-height: 100%; width: auto; height: auto; overflow: hidden" >' +
"<source src='video/video.mp4' type='video/mp4' autoplay= 'autoplay' loop= 'loop'/>" +
"<source src='video/video.webm' type='video/webm' autoplay= 'autoplay' loop= 'loop'/>" +
"<source src='video/video.ogg' type='video/ogg' autoplay= 'autoplay' loop= 'loop'/>" +
"</video>");
What am I doing wrong? (Apart from not understanding any code whatsoever!)