Broadcasters/Publishers


Offer a branded, locked-down TV experience to customers. White-label the interface, integrate your schedule, and deploy as a set-top box alternative without the hardware costs.

Run this on your own servers. Brand it with your logo. Modify the code. It is designed to be the "OS" broadcasters can deploy without relying on third-party platforms.


We don’t sell you videos or tell you where to buy them. We provide the player and the guide. You point it at your local media server.


Server Requirements


For maximum compatibility your content server must serve correct mime-types for mp4 and m3u8 files. 


application/vnd.apple.mpegurl m3u8

video/mp4 mp4


and in order to transparently support Chromecast, you need to allow cross-origin sharing. We recommend using the combination of origin and user-agent to do this.


In nginx this can be achieved using the map keyword at the toplevel:



map $http_origin $allow_origin {
  ~^https://www.gstatic.com$ $http_origin;
  ~^https://.*\.tvtime.app$ $http_origin;    ## you can use your own domain name here
}

map $http_user_agent $is_chromecast {
  ~^Mozilla\/5.0\ .Linux.\ Android\ .*\ CrKey\/.*\ DeviceType\/AndroidTV$ 1;
  ~ 0;
}

then inside a location block for your root directory you can add:

   location / {
           if ($is_chromecast) {
                   add_header Access-Control-Allow-Origin "$allow_origin";
           }
           …


Other servers will be similar.