Identify the index of currently playing audioItem in a result view
My capsule uses the AudioPlayer to play a playlist of audio clips. Since the playlist contains multiple items, I'd like to include some of that audioItem meta data in my result view.
I can access the `playlist.audioInfo.audioItem` array from within my result.view.bxb (see below), but there's no way to get the index, in order to dynamically populate the view.
Having access to that index (or a `currentlyPlaying` object would enable me to provide my users with contextually relevant info about what they are listening to: (art, title, a summary) .
Please sign in to leave a comment.
Comments
1 comment