How do I get the filename of the currently playing item from a playlist containing more than one?
I know that I can use playerInstance.getPlaylistItem()['file'] to return the name of the _first_ source file in the currently playing playlist, but I have a playlist containing low and high resolution versions of the same video, and I would like to return the name corresponding to the version the user is actually watching. I have reviewed the API documentation, and I cannot see a way of doing this. Am I missing something obvious? What I need is a way to return the index of the current source within the current playlist item, _not_ the index of the current playlist item within the playlist array - the latter is always 0, since there is only one item in it.