blob: 44e14059c36b9dcce8fa83141692665650ce40c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* ECML Blip.tv support
*
* @package ECML
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Curverider Ltd
* @copyright Curverider Ltd 2008-2010
* @link http://elgg.org/
*/
$params = str_replace('?', '', $vars['ecml_params_string']);
$width = (isset($vars['width'])) ? $vars['width'] : 425;
$height = (isset($vars['height'])) ? $vars['height'] : 350;
if ($params) {
$embed_src = elgg_http_add_url_query_elements($src, array('output' => 'embed'));
$link_href = elgg_http_add_url_query_elements($src, array('source' => 'embed'));
echo "
<p><script type='text/javascript' src='http://blip.tv/syndication/write_player?skin=js&cross_post_destination=-1&view=full_js&$params'></script></p>
";
}
|