+ 1

Background Music

I want to know how to add and auto-play music on a website using a url can anyone help me with this?

8th Jul 2017, 7:35 AM
Animefreak otaku
Animefreak otaku - avatar
33 Respostas
+ 17
<audio src=....... autoplay autobuffer preload loop></audio>
8th Jul 2017, 8:01 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
Are you on mobile?? Is "src" correct?? (Are you really an Anime Freak?? ^_^)
8th Jul 2017, 8:08 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
Give me the source.
8th Jul 2017, 8:12 AM
Valen.H. ~
Valen.H. ~ - avatar
8th Jul 2017, 8:22 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
not possible but you could try : <audio src=file:///sdcard/audio.mp3 .....> (I used a bot made by myself...)
8th Jul 2017, 8:25 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
^_^
8th Jul 2017, 8:26 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
div,body{ width:450px; height:450px; background-image:url(.gif);/*maintance here*/ background-size:cover; animation:hvr .1s infinite; transform:translate(-50%,-50%); position:fixed; left:50%; top:50%; transition:0s; } body { position:absolute; margin:0; overflow-y:scroll; } @keyframes hvr{ to{} } /*does this work??*/
8th Jul 2017, 8:30 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
Music
8th Jul 2017, 8:14 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
@Animefreak As expected.... Wrong link.... You cannot steal audio from Youtube or Soundcloud.... Let me hack it for you.....
8th Jul 2017, 8:18 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
What?? ^_^
8th Jul 2017, 8:27 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
What about now?? (editted previous post)
8th Jul 2017, 8:34 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
Why don't you just put an image (<img>) with position fixed and z-index less that the other elements z-index..... Give me your full code if you want me to debug it.....
8th Jul 2017, 8:39 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
alternativexxxy@gmail.com
8th Jul 2017, 8:41 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
What effect do you want to achieve on hover??
8th Jul 2017, 8:57 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
("Anime" freak the "otaku" away,ok) And Now wait Some new knowledge from Valentin
8th Jul 2017, 8:16 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
For the music or the code playground?
8th Jul 2017, 8:13 AM
Animefreak otaku
Animefreak otaku - avatar
+ 2
I freaking love you @ValentinHacker!!!!!
8th Jul 2017, 8:25 AM
Animefreak otaku
Animefreak otaku - avatar
+ 1
You seem to have taken a liking to me for some reason, but can you help me use it? I tried putting it under the body tag and that didn't work.
8th Jul 2017, 8:07 AM
Animefreak otaku
Animefreak otaku - avatar
+ 1
No, I am not I am currently on PC but I am needing to use a url to get the music into the code playground, and I have no idea if src is right... Yes!
8th Jul 2017, 8:10 AM
Animefreak otaku
Animefreak otaku - avatar