+ 13
Is it posible to play a youtube video as audio in the code playground ?
I want to have an audio in a web code and I would like to know if I can use a youtube video for the audio or it isn't posible, could you help me?
17 Réponses
+ 10
Thank you but I don't think I can find what I need like that, do you know some place where I can look for an audio source that can play as audio in this app? I want to try using audio in a web code
+ 9
Portal 1 ending theme 😆
+ 9
Yes, both were written by him
+ 9
I've only played Portal 1 & 2, but Half Life sounds interesting... you?
+ 9
ValentinHacker got sound to play in his piano code. Study it maybe?
+ 9
Good idea Ahri Fox, I'll look for it thanks 😊
+ 6
Put the embed code in a div element and position it off screen. ie. top -1000px, or whatever. Autoplay. not sure if you can control the YouTube embed to only play one source or if it keeps playing. But that's an idea of how to do it anyway
+ 3
Love that game. Played it over just to hear the song.😂
+ 3
Aren't you the one that made that shooter code that everyone has copy-pasted as their own code?
+ 2
Perhaps find a video, that all the way through is solid white, so that no one notices it is there.
+ 2
I cannot give you anything but suggestions that are mere guesses, so perhaps I am not the person to talk to. But what video in specific, would you like to play?
+ 2
Jonathan Coulton wrote it.
+ 2
Like Portal 2?
+ 2
It is great, hl2 is Amazing though. Also you should play left4dead
+ 2
Try finding an audio file of that song and use that. Tell the code it will be in.
+ 1
Half-life 3 confirmed
0
Gabe is too busy swimming in money to make a good new game. Wow this post is 2 years old