public function updatethumbnailAction()
 {
     $entryId = isset($_GET['entryid']) ? $_GET['entryid'] : null;
     if (!$entryId) {
         wp_die(__('The video is missing or invalid.'));
     }
     $uiConfId = KalturaHelpers::getOption('thumbnail_player_ui_conf_id');
     KalturaHelpers::enqueueHtml5Lib($uiConfId);
     wp_enqueue_script('jquery');
     $kmodel = KalturaModel::getInstance();
     $ks = $kmodel->getAdminSession();
     $flashVars = array();
     $flashVars['ks'] = $ks;
     $params = array('widgetId' => '_' . KalturaHelpers::getOption("kaltura_partner_id"), 'uiConfId' => $uiConfId, 'entryId' => $entryId, 'flashVars' => $flashVars);
     $this->renderView('library/update-thumbnail.php', $params);
     $kmodel = KalturaModel::getInstance();
 }