I video’d this… This is what it does…
index.html (2.3 KB)
You should try embedding a YouTube video and hiding it for the audio with ?autoplay
Click Share and then Embed.
A lot of music has embedding disabled.
How do I add it to my index?
Your index has two <body>
tags, which is going to cause issues.
Remove lines 13-16:
<body>
<audio id="Loading" autoplay loop >
<source src="music/Loading.ogg" type="audio/ogg">
</audio>
And add the embed code that YouTube generates for you anywhere below the remaining <body>
tag.
So like this?
Embed Code HereHow do I hide it?
(20 Charrss)
Apply and use this css
.videoContainer {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
iframe {
width: 100%;
height: 100%;
}
You just confused the shit outta me
Just use the Release I sent, change whatever you want in it.
Thats not the point of this post… Im asking how to add music to mine not use yours…
I meant use the code and change it like the embed <iframe style="display: none" src="https://www.youtube.com/embed/Scxs7L0vhZ4?autoplay=1&%3Fvq=hd720;controls=0;&showinfo=0" frameborder="0" allow="autoplay" allowfullscreen=""></iframe>
and just change the video Id to yours
can you control the volume when you do it like that?