Skip to content

Media Extreme

Development Notes

Categories

  • Development
  • Firefox/XUL
  • iPhone
  • News
  • Piano
  • Tech
  • Web
  • Wordpress

Tag: embed

Easy way to add embed code to your site

If you want to embed from popular video sites, rather than copying and pasting embed codes, use oembed and the built int wordpress oembed functions.

http://codex.wordpress.org/Function_Reference/wp_oembed_get

Call it from your template and it will create the embed code for you. The only drawback is that it may be slower.

Posted on November 18, 2011Categories WordpressTags embed, templates, videoLeave a comment on Easy way to add embed code to your site
Proudly powered by WordPress