thanks for your comment! I applied the same functionality to other sites like slideshare, take a look to pinslide! migueldev.com/pin/slideshare.php the source code is available in the same repository on github ;) https://github.com/miquelcamps/pin
i guess you're right... but i don't give much importance is something I've done in a couple of hours to have fun without any purpose of making money, the source code is available on github ;) https://github.com/miquelcamps/pin
the code is available on github, take a look the player.js file in line 10, there you will see the call to the youtube api the search query is song name + artist https://github.com/miquelcamps/pin/blob/master/js/player.js thanks for comment!
I wanted to do in a very simple way because the youtube player is a little ugly hehe.
if you want you can show the youtube player in a corner you put this css in the secret's div on the footer :p "position:fixed;right:0;bottom:0;width:420px;height:315px;"
https://twitter.com/vivirenremoto/status/1397149833429987335