|
@@ 325-326 (lines=2) @@
|
| 322 |
|
$html .= '>'; |
| 323 |
|
if ( ! isset( $this->options['freedom'] ) || $this->options['freedom'] === false ) { |
| 324 |
|
$mp4 = $this->video->videos->mp4->url; |
| 325 |
|
if ( ! empty( $mp4 ) ) |
| 326 |
|
$html .= '<source src="' . esc_url( $mp4 ) . '" type="video/mp4; codecs="' . esc_attr( $this->video->videos->mp4->codecs ) . '"" />'; |
| 327 |
|
unset( $mp4 ); |
| 328 |
|
} |
| 329 |
|
$ogg = $this->video->videos->ogv->url; |
|
@@ 330-331 (lines=2) @@
|
| 327 |
|
unset( $mp4 ); |
| 328 |
|
} |
| 329 |
|
$ogg = $this->video->videos->ogv->url; |
| 330 |
|
if ( ! empty( $ogg ) ) |
| 331 |
|
$html .= '<source src="' . esc_url( $ogg ) . '" type="video/ogg; codecs="' . esc_attr( $this->video->videos->ogv->codecs ) . '"" />'; |
| 332 |
|
unset( $ogg ); |
| 333 |
|
|
| 334 |
|
$html .= '<div><img alt="'; |