Do You Have a Developer API?

Starting in Version 2.1, we have an API for Javascript developers who want to make the most of their player. It's only one function so far, but we have big plans for the future! 

All of these methods can be accessed via the global SmartPodcastPlayer object, available on any page with either a smart_podcast_player or smart_track_player shortcode.

Function Description
SmartPodcastPlayer.initialize() Initialize all of the players on a webpage. Players that have previously been initialized are unaffected. This is automatically called when the page is done loading. It can be called again explicitly if more content is subsequently loaded, as is the case with many infinite scrolling plugins and themes.

Still need help? Contact Us Contact Us