We are an audio only app looking to create a version for tvOS. Using TVML it is possible to create a Player object and to add audio items to it. We can then present a very nice UI for audio playback. This is the same UI that is used for Apple Music.
The problem is, to conform to our licencing we have to report all of our played audio data. Because our audio is often long-form, we need to keep track of exactly where the user has listened in the audio. We have functioning code for this in iOS, which is built on top of AVPlayer. We would like to put this code into the nice player presented through javascript. Ideally we would like to replace the underlying AVPlayer with our own wrapped version. I have seen there is a native AVPlayerViewController component, but this only seems to lay itself out for video. Not like Apple Music does, or the JS Player.
Is there a way of making AVPlayerViewController look like the one in Apple Music? Is there a native way of doing this? Or can we somehow swap out the underlying player used in JS for our own?
I even considered building our own native UI for it, but there appears to be no UISlider in tvOS, so we can't support scrubbing if we do that. The JS Player does support this.
Thanks in advance for your help