Hi there!
I've been using the tv.mediaplayer and the tv api (ie:
tv.createPath(tv.createNetworkInput(url),tv.getOutput("VideoPlaybackScreen"));
var openPaths = tv.getPaths();
openPaths[0].control.play();
…to do video playback. With both it only appears to default to fullscreen. For example the openPaths[0].output.fullscreen seems to be a readonly value and doesn't update if I try to assign 'false' to it. Does this mean that when using the tv api we can only do fullscreen video playback? Is there a way for us to code our own quarterscreen video playback for example or are you planning to support this in the future?
Many thanks
Penny.
Hi Penny,
You can define the dimensions and position of the the video output using the bounds property: (page 291 in the latest developers guide)
var v = tv.getOutput(“VideoPlaybackScreen”);
v.bounds = new Rectangle(0,0,0,0);
The attributes of the Rectangle object are x, y, width and height.
Regards,
Oli