Code Duplication    Length = 2-2 lines in 2 locations

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

@@ 216-217 (lines=2) @@
213
		if ( isset( $data->language ) )
214
			$this->language = $data->language;
215
216
		if ( isset( $data->duration ) && $data->duration > 0 )
217
			$this->duration = absint( $data->duration );
218
219
		if ( isset( $data->width ) && $data->width > 0 )
220
			$this->calculated_width = absint( $data->width );

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

@@ 205-206 (lines=2) @@
202
		if ( isset( $data->language ) )
203
			$this->language = $data->language;
204
205
		if ( isset( $data->duration ) && $data->duration > 0 )
206
			$this->duration = absint( $data->duration );
207
208
		if ( isset( $data->width ) && $data->width > 0 )
209
			$this->calculated_width = absint( $data->width );