{$tcomments_params = ['function'=>'get_ultimate_ads']} {$current_ad = get_my_function($tcomments_params)} {if !empty($current_ad)} {$play_ad = true} {/if} {$tcomments_params = ['function'=>'get_timeCommnets','videoid'=>$vdata.videoid]} {$Comments_allowed = $myquery->is_commentable($vdata,'v') } {$timecomments = get_my_function($tcomments_params)} {$v_editor_params = ['function'=>'get_video_editor']} {$video_editor_enabled = get_my_function($v_editor_params)} {$svg_manager_params = ['function'=>'get_svg_manager']} {$svg_manager = get_my_function($svg_manager_params)} {if $svg_manager} {$svg_manager} {/if} {if !$video_editor_enabled } {$intance_params = ['function'=>'get_slot','videoid'=>$vdata.videoid]} {$active_instances = get_my_function($intance_params)} {if is_array($active_instances)} {$active_instances = json_encode($active_instances)} {/if} {/if} {if $development_mode} {else} {/if} {if $cb_timecomments_plugin == 'installed'} {/if} {if $play_ad == true} {/if} {if $video_editor_enabled} {/if} {if $active_instances && !$video_editor_enabled} {/if} {$default_quality = get_cbvjs_quality_type($video_files)}