Can a TVML app play video in a window (not full screen)?

The TVML documentation shows that we can't put focusable elements (like buttons) in a TVML template which overlays over a playing video. But I'm looking for a way to gain button input (like a quiz/poll) during playback, so my only option would be to reduce the size of the playing video and place buttons beside it.

Does TVML support playing back video within a reduced-size window? Or would Objective-C be the only way to achieve this?

Replies

You can now add a focusable overlay over the video:


https://developer.apple.com/reference/tvmljs/player/1682093-modaloverlaydocument

From what I can tell, modalOverlayDocument has been replaced by interactiveOverlayDocument:


https://developer.apple.com/documentation/tvmljs/player/2123043-interactiveoverlaydocument