Created
May 23, 2011 20:56
-
-
Save kirkegaard/987584 to your computer and use it in GitHub Desktop.
enable vimeo js api in wordpress oembed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
wp_oembed_add_provider('#http://(www\.)?vimeo\.com/.*#i', 'http://www.vimeo.com/api/oembed.{format}?api=1', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment