ATM it seems that this module only support embedding of tracks and will not allow postcasts. This patch will fix this as well as support for other changes I have made to Video embed field to add support for GraphQL
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | video_embed_spotify_podcasts2.patch | 1.8 KB | sleitner |
| #7 | video_embed_spotify_podcasts-3091990-6.patch | 4.25 KB | callinmullaney |
| #4 | video_embed_spotify_podcasts.diff | 6.16 KB | sleitner |
| #2 | 3091990-2.patch | 2.89 KB | gordon |
Comments
Comment #2
gordon commentedComment #3
gordon commentedComment #4
sleitner commented@gordon thanks for the patch. I reworked the regex to match album, artist, playlist and show as well.
Comment #6
callinmullaney commentedWhen reviewing the latest patch I kept running into this error on the frontend while testing spotify episodes and podcast embeds.
Error: Call to undefined method Drupal\video_embed_spotify\Plugin\video_embed_field\Provider\Spotify::getEmbedUrl()...I updated the patch with the new method and the embeds are working great for me now.
Comment #7
callinmullaney commentedComment #8
sleitner commented@callinmullaney you're right, the getEmbedUrl function is part of @gordon 's ProviderPluginBase implementation and ProviderPluginInterface (#3091986) which is not in the video_embed_field 8.x-2.x branch yet. I changed the code to adapt these changes.
Comment #10
sleitner commented