custom_tab_audio_start
Art. no. 216207867
Trigger mechanism
This event is triggered when an audio file displayed in a custom tab of the Prenly reader is launched in Prenly's audio player with the javascript bridge and is triggered when it starts or resumes.
This is a draft and the event is planned to be introduced in all platforms from Q4, 2024.
Attributes
| Attribute | Belongs to | Data type | Description |
|---|---|---|---|
| audio_entity_id? | JS-bridge | string | Unique id for the audio |
| audio_title | JS-bridge | string | The title of the audio item |
| audio_url | JS-bridge | string | The url for the audio item |
| playback_position | Player | int | Current playback position in seconds |
| audio_duration? | JS-bridge | int | The duration of the audio file, in seconds |
The attributes with the suffix ? are not always available.
Note that contextual data will normally be included when an event is exported.
Example
| Attribute | Example value |
|---|---|
| audio_entity_id | “external-web-audio-12345” |
| title | “Listen to the latest episode of our podcast” |
| audio_url | “https://external.server.com/path-to-audio-file.mp3” |
| playback_position | 0 |
| audio_duration | 2057 |