|
@@ 320-321 (lines=2) @@
|
| 317 |
|
$html .= ' preload="metadata"'; |
| 318 |
|
if ( isset( $this->video->text_direction ) ) |
| 319 |
|
$html .= ' dir="' . esc_attr( $this->video->text_direction ) . '"'; |
| 320 |
|
if ( isset( $this->video->language ) ) |
| 321 |
|
$html .= ' lang="' . esc_attr( $this->video->language ) . '"'; |
| 322 |
|
$html .= '>'; |
| 323 |
|
if ( ! isset( $this->options['freedom'] ) || $this->options['freedom'] === false ) { |
| 324 |
|
$mp4 = $this->video->videos->mp4->url; |
|
@@ 409-410 (lines=2) @@
|
| 406 |
|
$html .= 'right" dir="rtl"'; |
| 407 |
|
else |
| 408 |
|
$html .= 'left" dir="ltr"'; |
| 409 |
|
if ( isset( $this->video->language ) ) |
| 410 |
|
$html .= ' lang="' . esc_attr( $this->video->language ) . '"'; |
| 411 |
|
$html .= '><span style="padding:3px 0;line-height:1.5em;'; |
| 412 |
|
if ( isset( $this->video->skin ) && isset( $this->video->skin->background_color ) ) { |
| 413 |
|
$html .= 'background-color:'; |
|
@@ 532-533 (lines=2) @@
|
| 529 |
|
|
| 530 |
|
if ( $vid_type !== '' ) { |
| 531 |
|
$noun = '<a '; |
| 532 |
|
if ( isset( $this->video->language ) ) |
| 533 |
|
$noun .= 'hreflang="' . esc_attr( $this->video->language ) . '" '; |
| 534 |
|
if ( $vid_type === 'mp4' ) |
| 535 |
|
$noun .= 'type="video/mp4" href="' . esc_url( $this->video->videos->mp4->url, array( 'http', 'https' ) ); |
| 536 |
|
elseif ( $vid_type === 'ogv' ) |