I've noticed a lot of people having issues getting a music player on their site, or at least some background music. I myself have not been able to find one, but have come close. My main issue was finding a URL for the song that I needed. Using Youtube as your provider of background music makes things so much more simpler. All you literally have to do is look up the song you're longing to hear.
Anyways, lets get down to business.
When you go to Youtube and hit "share" you will need to get the embedded code. There SHOULD be an option of getting the old code.
When you have it you will noticed that it is running through DIV. What you want to extract from that is the embedded section.
Once that is done you can set your width and height. I have mine set to "0" so that it cannot be seen.
Where should put this <embed src="//www.youtube.com/v/6PN78PS_QsM?version=3&hl=en_US&rel=0&autoplay=1" type="application/x-shockwave-flash" width="0" height="0" allowscriptaccess="always" allowfullscreen="true"></embed>
Cookies are small packets of data, that we or our partners store locally on your computer, through your browser.
We use the following cookies, in concordance with the GDPR :
-Essential cookies: necessary for full functionality of the website.
-Optional cookies: optional and help us improve the website by, for example, analysing user behaviour on the website without personally identifying you.
You can find more information in our privacy statement.