fewbricks\bricks\demo_video::get_brick_html PHP Method

get_brick_html() protected method

protected get_brick_html ( ) : string
return string
    protected function get_brick_html()
    {
        $html = $this->demo_get_headline_html('headline');
        if (false !== ($url = $this->get_video_url())) {
            $html .= '
              <div class="row">
                  <div class="col-xs-12">
                    <div class="embed-responsive embed-responsive-16by9">
                      <iframe src="' . $url . '" allowfullscreen></iframe>
                    </div>
                  </div>
                </div>';
        }
        if ('' !== ($button_html = $this->get_child_brick('demo_button', 'button')->get_html())) {
            $html .= $button_html;
        }
        return $html;
    }