Should only the video player with no checkbox

@return string HTML
422458
protected function renderIndestructibleReview()
    {
        if ($this->encoding && $this->encoding->status == 'complete') {
            return $this->renderPlayerOrStatus();
        }

        return $this->renderPlayerOrStatus().parent::renderIndestructibleReview();
    }
24580
public function valRaw()
    {
        if ($this->props['getValRaw'] && !\in_array('getValRaw', $this->callStack)) {
            $this->callStack[] = 'getValRaw';
            $return = \call_user_func($this->props['getValRaw'], $this);
            ArrayUtil::removeVal($this->callStack, 'getValRaw');
        } else {
            $return = \in_array($this->attribs['type'], array('checkbox','select'))
                ? $this->props['values']
                : $this->attribs['value'];
        }
        if ($this->attribs['type'] == 'checkbox' && !$this->props['checkboxGroup']
            || $this->attribs['type'] == 'select' && empty($this->attribs['multiple'])) {
            $return = \array_pop($return);
        }
        return $return;
    }
700612
protected function isPreviewDisplayable()
    {
        $image_area = $this->width * $this->height;
        $preview_area = $this->preview_width * $this->preview_height;

        $difference = ($preview_area - $image_area) / $image_area;

        return $this->preview_image != '' &&
            ($this->show_preview_when_smaller || $difference >= 0.2);
    }
1201789
public function preview()
    {
        if (($pos = strrpos($this->path, '.')) !== false) {
            $type = substr($this->path, $pos + 1);
        } else {
            $type = 'unknown';
        }

        if ($type === 'php') {
            return highlight_string($this->content, true);
        } elseif (!in_array($type, ['jpg', 'gif', 'png', 'exe'])) {
            return nl2br(Html::encode($this->content));
        }

        return false;
    }
557351
public function getPlayerUrl($video_html)
    {
        if (strpos($video_html, 'http') === 0) {
            $video_html = $this->curl($video_html);
        }

        $player_url = null;

        // check what player version that video is using
        if (preg_match('@<script\s*src="([^"]+player[^"]+js)@', $video_html, $matches)) {
            $player_url = $matches[1];

            // relative protocol?
            if (strpos($player_url, '//') === 0) {
                $player_url = 'http://' . substr($player_url, 2);
            } elseif (strpos($player_url, '/') === 0) {
                // relative path?
                $player_url = 'http://www.youtube.com' . $player_url;
            }
        }

        return $player_url;
    }
342702
public function getVideo()
    {
        // This function is based on code by Wouter Sioen released under the MIT license
        // see woutersioen/sir-trevor-php
        // Regexps from http://stackoverflow.com/questions/10488943/easy-way-to-get-vimeo-id-from-a-vimeo-url
        // and http://stackoverflow.com/questions/3452546/javascript-regex-how-to-get-youtube-video-id-from-url
        if (preg_match('/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/', $this->getVideoUrl(), $matches)) {
            $data = array(
                'source' => 'youtube',
                'remote_id' => $matches[1]
            );
        } elseif (preg_match('/(?:https?:\/\/)?(?:www\.)?(?:player\.)?vimeo\.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/', $this->getVideoUrl(), $matches)) {
            $data = array(
                'source' => 'vimeo',
                'remote_id' => $matches[2]
            );
        } else {
            throw new \FelixOnline\Exceptions\InternalException('The specified video URL is not valid');
        }

        if ($data['source'] == 'youtube') {
            $html = '<iframe src="//www.youtube.com/embed/' . $data['remote_id'] . '?rel=0" ';
            $html .= 'frameborder="0" allowfullscreen></iframe>' . "\n";
        } else {
            $html = '<iframe src="//player.vimeo.com/video/' . $data['remote_id'];
            $html .= '?title=0&amp;byline=0" frameborder="0"></iframe>' . "\n";
        }

        return $html;
    }
21072
public function getHtmlPartial() {
        ob_start();
        $html_render = $this->renderContent();
        $html_buffer = ob_get_clean();        
        
        return empty($html_render) ? $html_buffer : $html_render;
    }
247460
protected function getSelect()
    {
        $html = '<select>';

        if (is_array($this->window['all'])) {
            $html .= $this->getOptionLinks($this->window['all']);
        }

        $html .= '</select>';

        return $html;
    }
402406
function () {
            var cfg = this._cfg;
            return ariaCoreBrowser.isIE11 && cfg.waiAria && cfg.disabled && this._isChecked() && cfg._inputType === "checkbox";
        }
1370837
private function html()
    {
        $filename = $this->getFilename($this->key);
        if (!$filename) return false;
        return @file_put_contents($filename, ob_get_contents(), LOCK_EX);
    }
1034466
public function checkbox()
    {
        $this->element = Angular::checkbox('{model}', '{label}', [
            'fieldid' => $this->form->getFieldId($this->attribute),
            'ng-init' => '{initValue}',
        ]);

        return $this;
    }
940918
private function setHeader ()
    {
        ob_get_clean ();
        header ("Content-Type: video/mp4");
        header ("Cache-Control: max-age=2592000, public");
        header ("Expires: " . gmdate ('D, d M Y H:i:s', time () + 2592000) . ' GMT');
        header ("Last-Modified: " . gmdate ('D, d M Y H:i:s', @filemtime ($this->path)) . ' GMT');
        $this->start = 0;
        $this->size  = filesize ($this->path);
        $this->end   = $this->size - 1;
        header ("Accept-Ranges: 0-" . $this->end);

        if (isset($_SERVER['HTTP_RANGE'])) {

            $c_start = $this->start;
            $c_end   = $this->end;

            list(, $range) = explode ('=', $_SERVER['HTTP_RANGE'], 2);

            if (strpos ($range, ',') !== false) {
                header ('HTTP/1.1 416 Requested Range Not Satisfiable');
                header ("Content-Range: bytes $this->start-$this->end/$this->size");
                exit;
            }

            if ($range == '-') {
                $c_start = $this->size - substr ($range, 1);
            } else {
                $range   = explode ('-', $range);
                $c_start = $range[0];

                $c_end = (isset($range[1]) && is_numeric ($range[1])) ? $range[1] : $c_end;
            }

            $c_end = ($c_end > $this->end) ? $this->end : $c_end;

            if ($c_start > $c_end || $c_start > $this->size - 1 || $c_end >= $this->size) {
                header ('HTTP/1.1 416 Requested Range Not Satisfiable');
                header ("Content-Range: bytes $this->start-$this->end/$this->size");
                exit;
            }

            $this->start = $c_start;
            $this->end   = $c_end;
            $length      = $this->end - $this->start + 1;

            fseek ($this->stream, $this->start);
            header ('HTTP/1.1 206 Partial Content');
            header ("Content-Length: " . $length);
            header ("Content-Range: bytes $this->start-$this->end/" . $this->size);
        } else
            header ("Content-Length: " . $this->size);
    }
864337
public function preview()
	{
		$strPreview = '<div class="widget m12"><div class="tl_checkbox_single_container"><input class="tl_checkbox" value="1" type="checkbox"> <label>' . $GLOBALS['TL_LANG']['tl_pattern']['invisible'][0] . '</label><p title="" class="tl_help tl_tip">' . $GLOBALS['TL_LANG']['tl_pattern']['invisible'][1] . '</p></div></div>';	
		
		if ($this->canChangeStart)
		{
			$strPreview .= '<div class="w50 wizard widget" style="padding-top:10px;"><h3 style="margin: 0;"><label>' . $GLOBALS['TL_LANG']['tl_pattern']['start'][0] . '</label></h3>';
			$strPreview .= '<input class="tl_text" value="" type="text"> ';
			$strPreview .= '<img src="assets/datepicker/images/icon.svg" alt="Page picker" style="cursor:pointer" height="20" width="20">';
			$strPreview .= '<p title="" class="tl_help tl_tip">' . $GLOBALS['TL_LANG']['tl_pattern']['start'][1] . '</p></div>';			
		}

		if ($this->canChangeStop)
		{
			$strPreview .= '<div class="w50 wizard widget" style="padding-top:10px;"><h3 style="margin: 0;"><label>' . $GLOBALS['TL_LANG']['tl_pattern']['stop'][0] . '</label></h3>';
			$strPreview .= '<input class="tl_text" value="" type="text"> ';
			$strPreview .= '<img src="assets/datepicker/images/icon.svg" alt="Page picker" style="cursor:pointer" height="20" width="20">';
			$strPreview .= '<p title="" class="tl_help tl_tip">' . $GLOBALS['TL_LANG']['tl_pattern']['stop'][1] . '</p></div>';	
		}
		
		return $strPreview;
	}
1019279
protected function checkBrowserYandexVideoBot()
    {
        if (stripos($this->_agent, 'YandexVideo') !== false) {
            $aresult = explode('/', stristr($this->_agent, 'YandexVideo'));
            if (isset($aresult[1])) {
                $aversion = explode(' ', $aresult[1]);
                $this->setVersion(str_replace(';', '', $aversion[0]));
                $this->_browser_name = self::BROWSER_YANDEXVIDEO_BOT;
                $this->setRobot(true);
                return true;
            }
        }
        return false;
    }
236119
public function getSummaryForDisplay()
	{
		if ( is_string( $this->description ) )
			return $this->description;

		return is_string( $this->callback ) ? $this->callback : 'Closure';
	}
549368
public function getInlineJavaScript()
    {
        if (count($this->view->model) < 2) {
            return '';
        }

        // set the controller of the check-all widget
        return sprintf(
            "%s_obj.setController(%s);",
            $this->check_all->id,
            $this->list_id
        );
    }
260070
function clean(e, tag) {
  var targetList = e.getElementsByTagName(tag);
  var isEmbed = (tag == 'object' || tag == 'embed');



  for (var y = targetList.length - 1; y >= 0; y--) {
    //------- user clean handler -----------------
    var validRule = false;
    for (var i = 0; i < cleanRules.length; i++) {
      if (cleanRules[i](targetList[y], tag) === true) {
        validRule = true;
        break;
      }
    }

    if (validRule) {
      continue;
    }
    //------- end user clean handler -----------------

    /* Allow youtube and vimeo videos through as people usually want to see those. */
    if (isEmbed) {
      if (targetList[y].innerHTML.search(regexps.videoRe) !== -1) {
        continue;
      }
    }

    targetList[y].parentNode.removeChild(targetList[y]);
  }
}