$html="Video not playing? <a href='".$image->parse_link_template(make_link('image/$id/$id%20-%20$tags.$ext'))."'>Click here</a> to download the file.<br><script language='JavaScript' type='text/javascript'>
$html="Video not playing? <a href='".$image->parse_link_template(make_link('image/$id/$id%20-%20$tags.$ext'))."'>Click here</a> to download the file.<br><object data='$data_href/lib/Jaris/bin/JarisFLVPlayer.swf' id='VideoPlayer' type='application/x-shockwave-flash' height='".strval($image->height+1)."px' width='".strval($image->width)."px'><param value='#000000' name='bgcolor'><param name='allowFullScreen' value='true'><param value='high' name='quality'><param value='opaque' name='wmode'><param value='source=$ilink&type=video&streamtype=file&controltype=0' name='flashvars'></object>";
}elseif($ext=="ogv"){
$html="Video not playing? <a href='".$image->parse_link_template(make_link('image/$id/$id%20-%20$tags.$ext'))."'>Click here</a> to download the file.<br><video controls='controls' autoplay='autoplay'>
$ie_only="<!--[if IE]><p>To view webm files with IE, please <a href='http://tools.google.com/dlpage/webmmf/' target='_blank'>download this plugin</a>.</p><![endif]-->";
$html=$ie_only."Video not playing? <a href='".$image->parse_link_template(make_link('image/$id/$id%20-%20$tags.$ext'))."'>Click here</a> to download the file.<br><video controls='controls' autoplay='autoplay'>