@@ 313-314 (lines=2) @@ | ||
310 | $html .= '>'; |
|
311 | if ( ! isset( $this->options['freedom'] ) || $this->options['freedom'] === false ) { |
|
312 | $mp4 = $this->video->videos->mp4->url; |
|
313 | if ( ! empty( $mp4 ) ) |
|
314 | $html .= '<source src="' . esc_url( $mp4 ) . '" type="video/mp4; codecs="' . esc_attr( $this->video->videos->mp4->codecs ) . '"" />'; |
|
315 | unset( $mp4 ); |
|
316 | } |
|
317 | $ogg = $this->video->videos->ogv->url; |
|
@@ 318-319 (lines=2) @@ | ||
315 | unset( $mp4 ); |
|
316 | } |
|
317 | $ogg = $this->video->videos->ogv->url; |
|
318 | if ( ! empty( $ogg ) ) |
|
319 | $html .= '<source src="' . esc_url( $ogg ) . '" type="video/ogg; codecs="' . esc_attr( $this->video->videos->ogv->codecs ) . '"" />'; |
|
320 | unset( $ogg ); |
|
321 | ||
322 | $html .= '<div><img alt="'; |