hyperaudio / wordpress-hyperaudio

a wordpress plugin to display interactive transcripts
GNU General Public License v2.0
12 stars 10 forks source link

Issues with Triggering Spotify Player Using Hyperaudio Plugin #141

Closed ataha24 closed 10 months ago

ataha24 commented 10 months ago

I appreciate the recent update that allows linking transcripts with Spotify in the hyperaudio plugin. However, I'm encountering difficulties in activating the Spotify player from my embedded code. The documentation does not provide specific instructions for this integration, so I assumed the standard syntax would apply.

Here's what I've attempted:

  1. I retrieved the embed code for my media from Spotify.
  2. I linked the transcript on my website using two methods:

a) With the player specified: [hyperaudio src="https://open.spotify.com/embed/episode/0J7C9SIIwQvARa9WDmtOxB" font-family="Arial" show-active="true" player="Spotify"]

b) Wihout player specified: [hyperaudio src="https://open.spotify.com/embed/episode/0J7C9SIIwQvARa9WDmtOxB" font-family="Arial" show-active="true"]

Unfortunately, neither approach triggered the Spotify player. Attached is a screenshot showing the output. It seems that the hyperaudio plugin might not be properly invoking the Spotify player.

Could you please advise on the correct approach or any additional steps I need to take? If there's any further information you need, I'm happy to provide it.

Thank you for your assistance.

Screenshot 2023-12-07 at 9 27 25 AM
maboa commented 10 months ago

Hi @ataha24. Try removing /embed from your Spotify URLs. Hope it's ok if I move this to discussions so others with similar issues can benefit from this answer.