ansonphong / postworld

Wordpress Theme Development Framework
GNU General Public License v2.0
7 stars 0 forks source link

o_embed() Implimentation Example #48

Closed ansonphong closed 10 years ago

ansonphong commented 10 years ago

Hi Michel, This is low priority - I'm trying to use o_embed() JS function - I'm wondering how it can be used at the basic level. I tried this, although it's not working how I thought.

JAVASCRIPT

var embed = o_embed("http://www.youtube.com/watch?v=38peWm76l-U");
document.write(embed);
ansonphong commented 10 years ago

Hi Michel, I figured it out.