XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
oembed.addon.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
4 if(!defined('__XE__'))
5 {
6  exit();
7 }
8 
9 if($called_position == 'after_module_proc' && Context::getResponseMethod() == 'HTML')
10 {
11  Context::loadFile('./addons/oembed/jquery.oembed.css');
12  Context::loadFile(array('./addons/oembed/jquery.oembed.js', 'body', '', null), true);
13  Context::loadFile(array('./addons/oembed/oembed.js', 'body', '', null), true);
14 }
15 
16 /* End of file */
loadFile($args)