Code Duplication    Length = 2-2 lines in 2 locations

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

@@ 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=&quot;' . esc_attr( $this->video->videos->mp4->codecs ) . '&quot;" />';
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=&quot;' . esc_attr( $this->video->videos->ogv->codecs ) . '&quot;" />';
320
		unset( $ogg );
321
322
		$html .= '<div><img alt="';