protected function getWrappedTemplate()
	{
		$this->attributes['style']['width']    = '100%';
		$this->attributes['style']['height']   = '100%';
		$this->attributes['style']['position'] = 'absolute';
		$this->attributes['style']['left']     = '0';

		$outerStyle = 'display:inline-block;width:100%;max-width:' . $this->attributes['width'] . 'px';
		$innerStyle = 'display:block;overflow:hidden;position:relative;' . $this->getResponsivePadding();

		$template  = '<span>' . $this->generateAttributes(['style' => $outerStyle]);
		$template .= '<span>' . $this->generateAttributes(['style' => $innerStyle]);
		$template .= $this->getContentTemplate();
		$template .= '</span></span>';

		return $template;
	}
protected function getWrappedTemplate()
	{
		$this->attributes['style']['width']    = '100%';
		$this->attributes['style']['height']   = '100%';
		$this->attributes['style']['position'] = 'absolute';
		$this->attributes['style']['left']     = '0';

		$outerStyle = 'display:inline-block;width:100%;max-width:' . $this->attributes['width'] . 'px';
		$innerStyle = 'display:block;overflow:hidden;position:relative;' . $this->getResponsivePadding();

		$template  = '<span>' . $this->generateAttributes(['style' => $outerStyle]);
		$template .= '<span>' . $this->generateAttributes(['style' => $innerStyle]);
		$template .= $this->getContentTemplate();
		$template .= '</span></span>';

		return $template;
	}
protected function getWrappedTemplate ( ) { $ this -> attributes [ 'style' ] [ 'width' ] = '100%' ; $ this -> attributes [ 'style' ] [ 'height' ] = '100%' ; $ this -> attributes [ 'style' ] [ 'position' ] = 'absolute' ; $ this -> attributes [ 'style' ] [ 'left' ] = '0' ; $ outerStyle = 'display:inline-block;width:100%;max-width:' . $ this -> attributes [ 'width' ] . 'px' ; $ innerStyle = 'display:block;overflow:hidden;position:relative;' . $ this -> getResponsivePadding ( ) ; $ template = '<span>' . $ this -> generateAttributes ( [ 'style' => $ outerStyle ] ) ; $ template .= '<span>' . $ this -> generateAttributes ( [ 'style' => $ innerStyle ] ) ; $ template .= $ this -> getContentTemplate ( ) ; $ template .= '</span></span>' ; return $ template ; }
Generate and return a template for the embedded content, complete with a responsive wrapper

@return string
Generate and return a template for the embedded content complete with a responsive wrapper