a9622ce3e11624d7dd54cd66a2702ddedb522adf
[atutor.git] / mods / flowplayer / module.php
1 <?php\r
2 /*******\r
3  * doesn't allow this file to be loaded with a browser.\r
4  */\r
5 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
6 \r
7 /******\r
8  * this file must only be included within a Module obj\r
9  */\r
10 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
11 \r
12 /*******\r
13  * assign the instructor and admin privileges to the constants.\r
14  */\r
15 define('AT_ADMIN_PRIV_FLOWPLAYER', $this->getAdminPrivilege());\r
16 \r
17 global $_custom_head;\r
18 $_custom_head .='<script type="text/javascript" src="'.AT_BASE_HREF.'mods/flowplayer/flowplayer-3.1.2.min.js"></script>';\r
19 \r
20 ?>