I tried to use the YouTube player demo to generate the code necessary for my video to autoplay and loop itself. But only the autoplay works, it doesn\'t loop, and the demo-v
'playlist': ''
inside playerVars.
For example a full code: