You are here

function kaltura_upload_block in Kaltura 5

Same name and namespace in other branches
  1. 6.2 kaltura.module \kaltura_upload_block()
  2. 6 kaltura.module \kaltura_upload_block()
1 call to kaltura_upload_block()
kaltura_block in ./kaltura.module

File

./kaltura.module, line 559

Code

function kaltura_upload_block() {
  $cw_vars = kaltura_format_cw_vars(array(
    'kshow_id' => -2,
    'navigate_back' => 0,
  ));
  return '<input type="button" onclick="kalturaInitModalBox(\'' . url("kaltura/contribution_wizard/" . $cw_vars) . '\');" value="Click to Upload Media" />';
}