Controlling audio loading in the Soundslice embed
Our API lets you control the loading of recordings’ underlying MP3s. The default Soundslice behavior is:
- Automatically load the default recording (the last one in the list), on page load.
- For every other recording, defer loading until the user selects it and presses play.
You can change this behavior in two ways:
- Use the
defer=1
URL parameter to stop automatic loading of the default recording on page load. - Use the
loadAudioByIndex()
JavaScript API method to load a given recording at any time.