54 $this->CachedMultyFS =
get_package(
'cached_multy_fs' ,
'last' , __FILE__ );
88 private function compile_template( &$Settings , $TemplateName )
92 $Hash = $Settings->get_setting(
'hash' );
93 $Width = $Settings->get_setting(
'width' ,
'640' );
94 $Height = $Settings->get_setting(
'height' ,
'480' );
95 $Autoplay = $Settings->get_setting(
'autoplay' ,
'0' );
97 $Code = $this->CachedMultyFS->get_template( __FILE__ , $TemplateName );
100 array(
'{hash}' ,
'{width}' ,
'{height}' ,
'{autoplay}' ) ,
101 array( $Hash , $Width , $Height , $Autoplay ) , $Code
106 catch( Exception $e )
138 return( $this->compile_template( $Settings ,
'rutube.tpl' ) );
140 catch( Exception $e )
172 return( $this->compile_template( $Settings ,
'youtube.tpl' ) );
174 catch( Exception $e )