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.
This will enable your song to automatically start without "ads" once. After that the page will need to be refreshed(although, I do remember a way to changing how many times it plays).
(This is a little off subject, but I have also found a scroll bar that can be added to your page! It is the perfect size to hold quite a bit of text and take up no room. AND you can change your font!
Check out my homepage to see just what I'm talking about! "LOOK CLOSER" simply means "HIGHLIGHT") ______________ Believe the lie.
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.
You can prevent the use of cookies anytime by changing the settings of 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.