Mobile Line Of Business

Richard Jones (MVP)

  Home  |   Contact  |   Syndication    |   Login
  202 Posts | 0 Stories | 36 Comments | 0 Trackbacks

News

Welcome to the Mobile Line Of Business Blog

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

About

Had to be done…   A bit of fun… I wanted to work out, how to play video on the new Apple TV.


I downloaded the sample of how to use TVML from Apple at -

HERE 

Follow the included Readme.md for instructions for how-to run and install.

Replace the contents of client/templates/index.xml.js   with

 

var Template = function() {

    var myVideo = new MediaItem('video','https://drive.google.com/uc?export=download&id=0B7g1h4sDEtjuZy1lWDBmTlBwZlk');

    var player = new Player();

    player.playlist = new Playlist();

    player.playlist.push(myVideo);

    player.play();

}

Oh Go On, Try It 


posted on Wednesday, September 16, 2015 3:19 PM