I had a problem where i needed to enable the js api when embedding vimeo in wordpress using oembed. Turns out that you can override the existing providers by adding a line like this in your `functions.php`
WordPress caches oembed results so you might need to resave your content before you see any changes.