aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/views/default/ecml/keywords/redlasso.php
blob: 462865beccd6c2bdf2791ef8250c66e9af5c64dd (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 Red Lasso support
 *
 * @package ECML
 */

$vid = (isset($vars['id'])) ? $vars['id'] : FALSE;
$width = (isset($vars['width'])) ? $vars['width'] : 390;
$height = (isset($vars['height'])) ? $vars['height'] : 320;

if ($vid) {
	echo "
<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"$width\" height=\"$height\" id=\"Redlasso\">
	<param name=\"movie\" value=\"http://player.redlasso.com/redlasso_player_b1b_deploy.swf\" />
	<param name=\"flashvars\" value=\"embedId=$vid&pid=\" />
	<param name=\"allowScriptAccess\" value=\"always\" />
	<param name=\"allowFullScreen\" value=\"true\" />
	<embed src=\"http://player.redlasso.com/redlasso_player_b1b_deploy.swf\" flashvars=\"embedId=$vid&pid=\" width=\"$width\" height=\"$height\" type=\"application/x-shockwave-flash\" allowScriptAccess=\"always\" allowFullScreen=\"true\" name=\"Redlasso\">
	</embed>
</object>
";
}