From 8d7e396e37bad20155f1252efad8cbe1cb4d62c6 Mon Sep 17 00:00:00 2001 From: fvmartin Date: Wed, 23 Aug 2023 13:26:11 +0200 Subject: [PATCH] Revert "Video checker: Fix URLs with commas and ampresands in path" This reverts commit 19ef1207595cba22a36a7cb140eefeec040240e3. --- models/flowplayer.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/models/flowplayer.php b/models/flowplayer.php index a8a162d7f..17c5639c6 100644 --- a/models/flowplayer.php +++ b/models/flowplayer.php @@ -892,11 +892,6 @@ public function get_video_checker_media($mediaData , $src1 = false, $src2 = fals } $temp_media = $this->get_video_src( $v['src'], array( 'dynamic' => true ) ); - - // Encode components of the URL path - $url_path = wp_parse_url( $temp_media, PHP_URL_PATH ); - $temp_media = str_replace( $url_path, implode( '/', array_map( 'urlencode', explode( '/', $url_path ) ) ), $temp_media ); - if( isset($FV_Player_Pro) && $FV_Player_Pro ) { if($FV_Player_Pro->is_vimeo($temp_media) || method_exists($FV_Player_Pro, 'is_vimeo_event') && $FV_Player_Pro->is_vimeo_event($temp_media) || $FV_Player_Pro->is_youtube($temp_media)) { continue;