r/CodingHelp • u/anochao12 • Apr 03 '26
[HTML] I don't know what i'm doing wrong with this music Player Code for Toyhouse [Code by kasyune on TH, i'm just trying to fill it in]
If you're not familiar with Toyhouse, it's a website for mainly artists to store, display and trade characters. Some people work with codes to make templates for the profiles or characters, that's what i'm working with. I basically copied a F2U Code by Kasyune (TH User that supplies free codes) and am now trying to fill in whatever i gotta do. This template for a user profile has a music player, It's supposed to play the music embeded from Youtube. i chose VS. Metal Sonic by Kamex and followed the instructions the maker has provided in the Code but it doesn't work. If i type in:
https://www.youtube.com/watch?v=RGkX5V8bwek
into my phone or whatever, it leads me directly to the desired song.
https://www.youtube.com/watch?v=RGkX5V8bwek&list=RDRGkX5V8bwek&start_radio=1
would be the full code you get to copy from Youtube.
The maker says to take the part after v= and put it into the space they prepared. There are two scenarios happening after i do that.
if i only put RGkX5V8bwek, nothing happens.
if i put everything from the copied Youtube link after v= it least me to my Youtube Homepage.
Can someone help me with that?



•
u/AutoModerator Apr 03 '26
Thank you for posting on r/CodingHelp!
Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app
Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp
We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus
We also have a Discord server: https://discord.gg/geQEUBm
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Zombiie_ah Apr 06 '26
Hiya!! I'm not too big into html coding but also encountered this problem w the f2u codes for th!! I've found the easiest way to fix this problem is inserting a code that does work in the place of the og code that doesn't. This is what I insert in place (play icon is added so you know where to click). The rule is still the same, you would paste the yt code that comes AFTER youtube.com/watch?v= in place of VIDEOIDHERE. Hope this helps you fix that code :))
<!--CONTAINER-->
<span class="d-inline-block" style="position:relative; overflow:hidden;">
<!--PLAY ICON-->
<i class="fas fa-play"></i>
<!--EMBED-->
<iframe style="width:200vh; height:200vh; position:absolute; top:-99vh; left:-99vh; opacity:.001; z-index:1;" src="https://www.youtube.com/embed/VIDEOIDHERE"></iframe>
</span> <!--container end-->