Another violation, that I became aware of later on too, is hiding the player during searching. According to the ToS section "Prohibitions" entry 14, the player must be bigger than or equal to the minimum video player size, which is 200x200 pixels.
There is something called Terms Of Service. Just because you use an API it doesn't mean you can do anything with it. It's important to read them, because they can get you into legal troubles if you don't comply with these terms.
You should be really careful with this "YOLO" mindset, especially if you are a professional developer.