Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
1  
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

2 Answers 2

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

 
discard

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.