Take the 2-minute tour ×

This question already has an answer here:

I want to embed certain videos from youtube on my site but I only need the audio from them so I want to set the iframe to display:none and use the api to control the play and pause with custom buttons. Is this breaking any rules?

share|improve this question

marked as duplicate by Lèse majesté, bybe, Stephen Ostermiller, John Conde Mar 20 '13 at 23:49


2 Answers 2

Setting the display:none will not work as the browser will not start the plugin nor the audio.

share|improve this answer

Think about it. Why would Youtube let you use its content and infrastructure if they are hidden? The ads will not show and neither will the suggest videos at the end to direct visitors back to more stuff Youtube. You may have a great idea to use the audio for but unless it also benefits them, expect to be on your own.

While this is the my intuition, here is the official statement from Youtube's term of service:


share|improve this answer
