Ive been using a code for an autoplay youtube video since the day i set up my page. until just now the music has been autoplaying just fine. All of sudden the video wont autoplay! My friend has the same code on their page and its working just fine. Ive noticed that my code also works when I have my page open in another tab or window and the video is played and then paused. Very strange.
Code Im using:
<iframe width="300" height="50" src="https://www.youtube.com/embed/_uhaU5ca0Bs//?&;amp;;autoplay=1&;loop=1&;controls=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" loading="lazy">
</iframe>
Any ideas as to why its not autoplaying?
edit: got it to work again by doing nothing, still wondering why it happened in the first place tho! lol