I have a simple function that will launch the `player` that handles video playback for the Apple TV
function launchPlayer() {
var player = new Player();
var playlist = new Playlist();
var mediaItem = new MediaItem("video", "http://localhost:9001/videos/nsoperations.mp4");
player.playlist = playlist;
player.playlist.push(mediaItem);
player.present();
}I'm calling this function this way:
//in application.js
App.onLaunch = function(options) {
launchPlayer();
}For testing purposes, I want to launch the player right away. However, I'm met with dozens of `NSLayoutConstraint` errors, `unsatisfiable constraints`. Is this the wrong way to present the player?