I've been experimenting with creating an app using TVML, and have pretty good success creating templates and navigating between them. Now I am trying to play a video when clicking on a button. I am trying to use the Player class, but have not had any luck. I read that all video must be done via HLS, so I tried using the sampe .m3u8 provided by apple (https://developer.apple.com/streaming/examples/). When trying to call present() or play() on the player I am getting a slew of NSLayoutConstraint errors, followed by:
objc[86101]: Cannot form weak reference to instance (0x7fe3c2aeecd0) of class AVAssetMediaSelectionGroup. It is possible that this object was over-released, or is in the process of deallocation.
As a side note, the app is swift based, so I *think* this is something buggy in the framework...?
Oh, wow. Fantastic tip! I had been trying some other Apple samples (http://stackoverflow.com/questions/10104301/hls-streaming-video-url-need-for-testing) and wasn't having any luck! Thanks so much!