Hacker News new | ask | show | jobs
by j4mie 5482 days ago
Is there such a thing as a library that abstracts away the differences between the JavaScript APIs of common embedded video players (YouTube, Vimeo, etc)?

This could be useful if I've embedded a player with embed.ly and then want to control it from elsewhere on the page (say, have a big "play" button somewhere).

1 comments

I've written a library that does that (just play/pause/stop/mute/unmute for now) for a Chrome extension that I am working on to provide uniform audio controls to Google Chrome. (http://www.mutetab.com)

I haven't decided yet, but I am leaning toward open sourcing it.