Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to embed a youtube video and hide video display and just show the player controls? That would be sufficient for playing songs.

(I know, it would be a waste of bandwidth ;-) ...)

share|improve this question
This doesn't answer your question, but there are websites that allow you to put in the address of a YouTube video and extract the audio from the file. – Sherwin Flight May 28 '12 at 20:31

So far as I'm aware this isn't possible in a useful way.

For a single video you could set the width and height to 1px and enable autoplay, but I don't know how far that would get you.

I doubt you can change the window height to just show the scrubber bar as youtube's content scales automatically with the size.

share|improve this answer

You could use JW Player to embed the youtube videos, then you can customise it in many ways, including only showing the controls.

See embedding an audio file in the JW player documentation.

Note that this does not work for youtube videos with adverts.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.