Youtube Javascript API for creating an audio bar

For people who have experience with the Javascript Youtube API, I was wondering if it's possible to create a fully customized audio player using the API. My goal is simply to use the API to play sound using the built-in YouTube video, pause, change volume, with javascript buttons, without displaying the flash object itself. Does the API allow this?

+3
source share
1 answer

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

+5

Source: https://habr.com/ru/post/1768076/


All Articles