#312 oEmbed API를 활용해 글 본문의 URL을 embed 코드로 변환하는 애드온 추가.

- jQuery oEmbed API Wrapper : https://github.com/starfishmod/jquery-oembed-all
This commit is contained in:
bnu 2014-01-15 16:56:58 +09:00
parent 9c76b509d9
commit 191d77480f
5 changed files with 1437 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<?php
/* Copyright (C) NAVER <http://www.navercorp.com> */
if(!defined('__XE__'))
{
exit();
}
if($called_position == 'after_module_proc' && Context::getResponseMethod() == 'HTML')
{
Context::loadFile(array('./addons/oembed/jquery.oembed.js', 'body', '', null), true);
Context::loadFile(array('./addons/oembed/oembed.js', 'body', '', null), true);
}
/* End of file */