You are here

function kaltura_upload_block in Kaltura 6

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

File

./kaltura.module, line 575
kaltura integration module - core functions

Code

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