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
		$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=&quot;' . esc_attr( $this->video->videos->ogv->codecs ) . '&quot;" />';
332
		unset( $ogg );
333
334
		$html .= '<div><img alt="';