rickycheers
Forum Replies Created
-
Forum: Plugins
In reply to: [Seriously Simple Podcasting] URL instead of Audio Player@luigi Jonne Garcia
Below find a temporary fix. You can add this code to your theme’s
functions.phpfile.function patch_ssp_player_url( $link, $episode_id, $file ){ if( preg_match('/\?ref=player/', $link) ){ $link = str_replace('?ref=player', '', $link); } return $link; } add_filter('ssp_episode_download_link', 'patch_ssp_player_url', 10, 3);Forum: Plugins
In reply to: [Seriously Simple Podcasting] URL instead of Audio PlayerHi Hugh,
Unfortunately I don’t think that is the case. I’m having the same issue, I already disabled all plugins on a staging site plus I selected a default WP theme and the audio player doesn’t show yet.
I’ve traced the issue to the following line and file:
class-ssp-frontend.php line 190Looks like WP audio player doesn’t load when the source URL has GET parameters appended to it and removing that block of code fixes the issue.
I’m not familiar on how the plugin works, this is the very first time I use it for a client, so, I guess that the appended reference may have a purpose ´?ref=player´ and looks like the purpose is to perform a redirect to the correct location of the audio file.
Do you think that the issue may be a WordPress issue? Will I be safe if I temporary remove that block of code?
Thanks in advance. Regards!