Support » Plugin: Spreaker Shortcode » Blog Feed Spreaker play button option?

  • Is is possible to include a play button for each post to show up in the blog feed itself?

    Right now to access the podcast, they see our blog feed in WordPress, click on our post title, and play from within our post. Which is great.

    However, we would love for a visitor to just be able to see our blog feed, and click on a Play Button show with each story in our feed? So it just plays via the feed instead of having to go to a actual post.

    Thank you for any assistance you can provide.

Viewing 1 replies (of 1 total)
  • Plugin Author Spreaker

    (@spreaker)

    Hi,
    thanks for reaching us. Right now it’s not possible, but we can work on this.

    A generic option I was thinking about is:
    1. Add support for id="something" attribute in the shortcode (ie. [embed id="episode-1" height="400"]https://www.spreaker.com/user/marco[/embed])
    2. Load the widget via our Javascript loader instead of directly embedding the iframe, so that you can control each widget via Javascript (ie. SP.getWidget("episode-1").play())

    This way you could display a play button externally (out of the widget), and attach it an onclick listener that controls the widget itself. For example:

    <a href="#" onclick="SP.getWidget("episode-1").play(); return false">Play</a>

    You can also find the JS loader API reference here:
    https://developers.spreaker.com/guides/embedding-the-player/

    What’s your take?

    Marco

Viewing 1 replies (of 1 total)
  • The topic ‘Blog Feed Spreaker play button option?’ is closed to new replies.