Youtube – Are you allowed to hide an embedded YouTube video

youtube

I'm building a small quiz application (something like "what song is this?") with embedded YouTube videos. But the questions are too easy if you can see the video (the answer could be in its title). So my idea is to hide the player with a div so you can hear the video but not see it. The div disappears and the video becomes visible as soon as you pick an answer or click on "Show video".

Screenshot of what I want to do

This is optional, before starting the quiz you can check an option named "hide the videos to make things harder", and if you don't the videos are normally visible.

Now, hiding the embedded video player sounds like something that could violate YouTube terms of service, but I can't really find information about this. Any thoughts?

Best Answer

The YouTube TOS don't say anything about this, the developer TOS and specifically the developer policies and minimum required functionality do though. The latter of which says:

You must not display overlays, frames, or other visual elements in front of any part of a YouTube embedded player, including player controls. Similarly, you must not use overlays, frames or other visual elements to obscure any part of an embedded player, including player controls.