views:

71

answers:

1

For people that have experience with the Youtube Javascript API, I was wondering would it be possible to create a completely customized audio player using the API. My objective is to simply use the API to play sound from a embed youtube video, pause, change volume, from javascript buttons, without ever displaying the flash object itself. Does the API allow this?

+3  A: 

Yes. Take a look at this: http://code.google.com/apis/youtube/js_example_1.html You'll see that you can have full range of control. If you do not want to display the flash object, set the width and height equal to zero.

malckier
Ok I just wanted to make sure that setting height and width to 0 wouldn't affect functionality
Albinoswordfish