HEY THERE FRIENDS,
I have been trying to look up how to have the music play automatically on my profile and was having a hard time understanding. Im not sure if im just not reading them right or what so let me put it layman's terms:
1.) Go to youtube and get the imbedded link.. it should look like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/-BfHzCt5ehs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
~~~~~~
2.)You're going to have to copy and paste this:
?&;autoplay=1&;loop=1
~~~~~~
3.)And add it the way it has been bolded in the example below:
<iframe width="560" height="315" src="https://www.youtube.com/embed/-BfHzCt5ehs?&;autoplay=1&;loop=1 " title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
~~~~~~~~~
4.)A little disclaimer: this will create a youtube video box to appear on your profile but to hid it i change the width and height to "1".. heres an example:
<iframe width="1" height="1" src="https://www.youtube.com/embed/-BfHzCt5ehs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
INSTEAD OF
<iframe width="560" height="315" src="https://www.youtube.com/embed/-BfHzCt5ehs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
~~~~~~
GOOD LUCK
IF THIS HELPS ANYONE PLEASE COMMENT AND ADD ME!
Comments
Displaying 0 of 0 comments ( View all | Add Comment )