custom_tab_audio_stop
Art. no. 216207871
Trigger mechanism
This event is triggered when an audio file loaded with the javascript bridge from a custom tab of the Prenly reader is paused or stopped in Prenly's audio player, or when it reaches the end.
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 |
played _duration | Player | int | Time that was played since the last start, 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 | 350 |
played_duration | 145 |
audio_duration | 2057 |