2011-01-26 10:20:12 -05:00
|
|
|
function oembed(){
|
|
|
|
$("#oembed").toggleClass('hide');
|
|
|
|
}
|
|
|
|
|
|
|
|
function oembed_do(){
|
2011-01-26 11:17:02 -05:00
|
|
|
embed = "[embed]"+$('#oembed_url').attr('value')+"[/embed]";
|
2011-01-26 10:20:12 -05:00
|
|
|
|
2011-01-26 11:17:02 -05:00
|
|
|
tinyMCE.execCommand('mceInsertRawHTML',false,embed);
|
|
|
|
oembed();
|
2011-01-26 10:20:12 -05:00
|
|
|
}
|