Code Duplication    Length = 2-2 lines in 2 locations

modules/videopress/class.videopress-player.php 2 locations

@@ 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=&quot;' . esc_attr( $this->video->videos->mp4->codecs ) . '&quot;" />';
327
			unset( $mp4 );
328
		}
329
@@ 332-333 (lines=2) @@
329
330
		if ( isset( $this->video->videos->ogv ) ) {
331
			$ogg = $this->video->videos->ogv->url;
332
			if ( ! empty( $ogg ) ) {
333
				$html .= '<source src="' . esc_url( $ogg ) . '" type="video/ogg; codecs=&quot;' . esc_attr( $this->video->videos->ogv->codecs ) . '&quot;" />';
334
			}
335
336
			unset( $ogg );