TVML and HTML5

Hi,


I'm reading through the TVML docs and while its clear you can use JavaScript and there is a DOM it doesn't seem like HTML is supported. Is this correct, is there any way to embed HTML content?


Thanks,

Luke

Accepted Answer

Hi Luke,


HTML is not supported, you will need to use Apple’s Television Markup Language (TVML) to create TVML Template pages.


You can download Xcode 7.1 beta and start developing tvOS apps in the simulator.

https://developer.apple.com/xcode/download/

Looking thorough the TVML docs I have started handing off dynamic XML data to tvOS but I don't see how I can actually trigger and event to play a HLS (or other media). Can you point me to the correct documentation?

I have experence with aTV 2 & 3, if the XML is the same or similar you should be able to serve up XML similar to this to get it to play: https://github.com/wahlmanj/sample-aTV/blob/master/sample-video/http-file-video-player.xml


I will look thru the official documentation and see if I can find something better 🙂

Player in TVML can be managed from JavaScript using Player, Playlist, MediaItem API's.

TVML and HTML5
 
 
Q