In tvOS, is there an equivalent to the AVPlayerViewController for playing music with an cover and progress bar, like the one in the music app?
Asked
Active
Viewed 412 times
1 Answers
0
In tvjs player (https://developer.apple.com/library/tvos/documentation/TVMLJS/Reference/TVJSPlayer_Ref/) just set the type of the mediaItem
(https://developer.apple.com/library/tvos/documentation/TVMLJS/Reference/TVJSMediaItem_Ref/index.html#//apple_ref/javascript/cl/MediaItem) to audio
. Have a look at https://github.com/iBaa/PlexConnectApp/tree/master/PlexConnectApp/js, comparing VideoPlayer.js and AudioPlayer.js.
I guess, using Swift/Foundation, things should be handled similar...

Baa
- 246
- 1
- 8
-
thanks, but I can't find a way to set the `AVPlayerViewController` to audio only using ObjC/Foundation..and i don't want to use TVJS.. – Christian Schäfers Feb 25 '16 at 10:10