Code Duplication    Length = 2-2 lines in 2 locations

modules/videopress-v2/class.videopress-video.php 1 location

@@ 233-234 (lines=2) @@
230
		else
231
			$this->restricted_embed = false;
232
233
		if ( isset( $data->posterframe ) && $data->posterframe !== '' )
234
			$this->poster_frame_uri = esc_url_raw( $data->posterframe, array( 'http', 'https' ) );
235
236
		if ( isset( $data->mp4 ) || isset( $data->ogv ) ) {
237
			$this->videos = new stdClass();

modules/videopress/class.videopress-video.php 1 location

@@ 222-223 (lines=2) @@
219
		else
220
			$this->restricted_embed = false;
221
222
		if ( isset( $data->posterframe ) && $data->posterframe !== '' )
223
			$this->poster_frame_uri = esc_url_raw( $data->posterframe, array( 'http', 'https' ) );
224
225
		if ( isset( $data->mp4 ) || isset( $data->ogv ) ) {
226
			$this->videos = new stdClass();