I used the built-in podcast RSS feed import tool to bring in my existing episodes from Anchor - my 3rd party host. Everything imported quickly and easily - worked like a dream.
However, when I try to play an episode from anywhere on my site, nothing plays. When I open the Console, I see a 403 response to the GET request for the mp3 file and the following error:
Access to audio at 'http://anchor.fm/s/878c5dc/podcast/play/2171193///d3ctxlq1ktw2nl.cloudfront.net/production/2019-0-22/8711571-44100-2-14cf12bb3bdef.mp3' from origin 'http://zachhall.co' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
This does seem to change something, but now instead of the 403 and CORS header error, I'm just getting a 404 error in console. I'm sure its a different issue though.
it seems that there is 2 URL side-to-side which seems to cause a conflict...Perhaps its an issue with our script that doesnt strips when there are 2 url for the same url (which is pretty non standard), or there is a glitch from Anchor if that link is coming from them..I dont understand why episode #4 and episode #3 have 2 different URL structures.
Can you send me the RSS feed link that you have imported into WordPress?
Because anchor's url enclosure structure is a little bit unconvential (it throws 2 urls side-to-side for the same enclosure), our import script does not strip/encode them correctly. I will have to check this with one of our developper and we will update the theme as soon as possible.
a quick workaround in the meantime is that you edit each of your 4 episodes and you put the original enclosure path for each of them. The correct enclosure path is in https://anchor.fm/s/878c5dc/podcast/rss
Thank you so much Maxime! I figured this was a Anchor thing - I was confused by their enclosure URL setup too. Good to know its not just me! I'll edit the URLs. Thanks!
I used the built-in podcast RSS feed import tool to bring in my existing episodes from Anchor - my 3rd party host. Everything imported quickly and easily - worked like a dream.
However, when I try to play an episode from anywhere on my site, nothing plays. When I open the Console, I see a 403 response to the GET request for the mp3 file and the following error:
Access to audio at 'http://anchor.fm/s/878c5dc/podcast/play/2171193///d3ctxlq1ktw2nl.cloudfront.net/production/2019-0-22/8711571-44100-2-14cf12bb3bdef.mp3' from origin 'http://zachhall.co' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is this something that can be fixed on my end?
Hi,
go to Wp-admin > Theme Options > General Settings and try with this option uncheck: https://d.pr/i/8T4PHp
Let me know.
Thanks,
Max from the Sonaar.io Crew
Thanks for the quick reply!
This does seem to change something, but now instead of the 403 and CORS header error, I'm just getting a 404 error in console. I'm sure its a different issue though.
Example: http://zachhall.co/podcast/issue-3-understanding-in-a-bus-crash/
Hi Zach,
I'm trying to understand the issue.
the audio links enclosed in your current RSS (http://zachhall.co/feed/podcast/) looks like it:
For Episode #4:
https://d3ctxlq1ktw2nl.cloudfront.net/production/2019-1-18/10160377-44100-2-aa3d1bf531d89.mp3
is that a stream from Anchor?
For Episode #3:
https://anchor.fm/s/878c5dc/podcast/play/2344520/https://d3ctxlq1ktw2nl.cloudfront.net/production/2019-1-11/9828573-44100-2-1752b52d2f7b4.mp3
it seems that there is 2 URL side-to-side which seems to cause a conflict...Perhaps its an issue with our script that doesnt strips when there are 2 url for the same url (which is pretty non standard), or there is a glitch from Anchor if that link is coming from them..I dont understand why episode #4 and episode #3 have 2 different URL structures.
Can you send me the RSS feed link that you have imported into WordPress?
Thanks,
Max from the Sonaar.io Crew
Hi Zach,
I think the correct RSS feed to import would be this one: https://anchor.fm/s/878c5dc/podcast/rss
I tested it locally and I can play the tracks when I import that rss feed instead.
Thanks,
Max from the Sonaar.io Crew
False alert. sorry. I found the glitch.
Because anchor's url enclosure structure is a little bit unconvential (it throws 2 urls side-to-side for the same enclosure), our import script does not strip/encode them correctly. I will have to check this with one of our developper and we will update the theme as soon as possible.
a quick workaround in the meantime is that you edit each of your 4 episodes and you put the original enclosure path for each of them. The correct enclosure path is in https://anchor.fm/s/878c5dc/podcast/rss
See screenshot by example: https://d.pr/i/x1CeFe
Thanks
Thanks,
Max from the Sonaar.io Crew
Thank you so much Maxime! I figured this was a Anchor thing - I was confused by their enclosure URL setup too. Good to know its not just me! I'll edit the URLs. Thanks!