Skip to content

Commit

Permalink
Revert "Video checker: Fix URLs with commas and ampresands in path"
Browse files Browse the repository at this point in the history
This reverts commit 19ef120.
  • Loading branch information
fvmartin committed Aug 23, 2023
1 parent a4b8314 commit 8d7e396
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions models/flowplayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8d7e396

Please sign in to comment.