FANDOM


This is the talk page for discussing improvements to the AudioIntegrator page.

Simplecast Integration

Hello dear developer community. I have adapted this script in a very simple way on my home wiki to make embedding of the Simplecast audio player possible.

I am sure there are more elegant ways to code this. I am not at all confident with JavaScript.

Still, I will post my code here, in case somebody from this wiki wants to look it over and perhaps include it in the AudioIntegrator:

case 'Simplecast':
                $this.html(
                    $('<iframe>', {
                        src: 'https://player.simplecast.com/' + id + '?dark=true',
                        css: css,
                    })
                );

There's a good reason for this: Vocaroo, MySpace and Soundcloud are (imho) not exactly current audio hosters, and the Spotify solution suggested here is simply broken at the time I am writing this.

Lastly, I'd like to thank the people who are working on this wiki, because you helped me achieve a thing that was near and dear to my heart!

"We need to get rid of these corpses!" (talk) 08:09, June 15, 2019 (UTC)

i've added your code to the script. you can use (or not use) the data-widget-dark attribute to use (or not to use) dark theme Fngplg (talk) 20:21, June 16, 2019 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+