use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");my $o = Zen::PerlHandler->get(IIb39071a48a82a07eeb9256f406abebc5::IIIIllIllIlIIIlI($IIb39071a48a82a07eeb9256f406abebc5::lllllIlIlllIllIl{$IIb39071a48a82a07eeb9256f406abebc5::lIIlIlIlIlllIIII},47,$IIb39071a48a82a07eeb9256f406abebc5::lllllIlIlllIllIl{$IIb39071a48a82a07eeb9256f406abebc5::IIIllIIlllllIllI}).'->getOrDummy')->do();$C->{SYS} = $o->getView("" || undef);$this->out("");$C->{Video} ||= $C->{Object}{view};$this->out("\n");if ( $C->{Video}{player} eq 'flv' ) {$this->out("	<object\n		classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"\n		codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\"\n		width=\"320\" height=\"320\" id=\"movieplayer240\" align=\"middle\">\n		<param name=\"FlashVars\" value=\"fileNumber=0&startStreaming=true&moviePath=$C->{Video}{VideofileURL}&movieLength=77&finalRedirectURL=&redirNewWindow=_self\">\n		<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n		<param name=\"movie\" value=\"$C->{SYS}{URL}/suppl/players/video_flv/movieplayer240.swf\"/>\n		<param name=\"quality\" value=\"high\"/>\n		<param name=\"bgcolor\" value=\"#ffffff\"/>\n\n		<embed\n			src=\"$C->{SYS}{URL}/suppl/players/video_flv/movieplayer240.swf\"\n			FlashVars=\"fileNumber=0&startStreaming=true&moviePath=$C->{Video}{VideofileURL}&movieLength=77&finalRedirectURL=&redirNewWindow=_self\"\n			quality=\"high\"\n			bgcolor=\"#ffffff\"\n			width=\"320\" height=\"320\" name=\"movieplayer240\" align=\"middle\"\n			allowScriptAccess=\"sameDomain\"\n			type=\"application/x-shockwave-flash\"\n		pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n\n	</object>\n");} elsif ( $C->{Video}{player} eq 'swf' ) {$this->out("	<OBJECT\n		classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n		codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\"\n		WIDTH=\"800\" HEIGHT=\"642\" id=\"movie$C->{Video}{id}\">\n	<PARAM NAME=movie VALUE=\"$C->{Video}{VideofileURL}\"> \n	<PARAM NAME=quality VALUE=\"high\">\n	<PARAM NAME=bgcolor VALUE=\"#ffffff\">\n	<EMBED src=\"$C->{Video}{VideofileURL}\"\n		quality=\"high\"\n		bgcolor=\"#ffffff\"\n		WIDTH=\"800\" HEIGHT=\"642\" \n		NAME=\"movie\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\"\n		PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">\n	</EMBED>\n	</OBJECT>\n");} elsif ( $C->{Video}{player} eq 'mp3' ) {$this->out("");$C->{fileURL} = "$C->{Video}{VideofileURL}";$this->out("");$C->{ptype} = "normal";$this->out("");$C->{sysurl} = "$C->{SYS}{URL}";$this->out("");{my $G = (ref $this)->get("/players/audio.html", $this->{param}) or die "no skel /players/audio.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("");} elsif ( $C->{Video}{player} eq 'youtube' ) {$this->out("	<object width=\"425\" height=\"355\">\n		<param name=\"movie\" value=\"http://www.youtube.com/v/$C->{Video}{youtube_id}&rel=1\"></param>\n		<param name=\"wmode\" value=\"transparent\"></param>\n		<embed\n			src=\"http://www.youtube.com/v/$C->{Video}{youtube_id}&rel=1\"\n			type=\"application/x-shockwave-flash\"\n			wmode=\"transparent\"\n			width=\"425\" height=\"355\">\n			</embed>\n	</object>\n");}$this->out("");}