tvOS Playing a Video

So I’d like to play a Video in an Apple TV App.

I need to look into Player from the TVJS Lib.

I can play a Video using AVPlayer but need to look into the controls

I’d prefer to create the view using the TVML as the ‘Compilation.xml’ seems to be the perfect fit for it.

Finally found out that the videos files can’t be running under python.

If you change the URL to a file on the web it works fine.

I think you’re using the Python SimpleHTTPServer for your test, it did not worked for video streaming, but if you use Apache or for example this file directly from apple “” it will work.

This is correct. I think video playback requires that the server supports, among other things, byte-range requests. –  lemnar


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: