Rate this page:

Player

The Player module is dedicated to managing media playback of *.mp3 and *.ogg files, synthesized voice, and ToneScript sequences. Instantiate players to easily pause, resume, and completely stop playback. Each media file and TTS audio is placed to our cache storage after the very first playback and stored there up to 2 weeks. Bear in mind that if the file available through URL is changed, but its URL stays the same, the Player will still be using the cached old file. To prevent this, we recommend to specify URLs with timestamps to ensure they won’t be identical.