Video Size
As I see current version of the ihd doesn't support vido resizing.
I.E. I can not place menu items at the left side of the screen and video at the right side of the screen.
Is it planned to be implemented in future?
As I see current version of the ihd doesn't support vido resizing.
I.E. I can not place menu items at the left side of the screen and video at the right side of the screen.
Is it planned to be implemented in future?
:(
It doesn't work. Player.mainVideo, Player.subVideo, Player.Video are null or not an objects.
Also
1. Where can I see specification for the method "setLayout"?
2. How can I see current values of the layout?
My bad: here is some real code I found which scales subvideo to the lower right of the screen, over 1 second (a kind of un-zoom):
// get aperture size
var maxx = Player.video.main.cropWidth;
var maxy = Player.video.main.cropHeight;
Player.video.sub.alpha = 255;
var scale = Player.createVideoScale(1,2);
var duration = "00:00:01:00";
Player.video.sub.changeLayout( maxx/2, maxy/2, scale, 0, 0, maxx, maxy, duration );
To get the current values, use
Player.video.main/sub.scale/x/y/cropX/cropY/cropWidth/cropHeight
It works. Thank you.
The problem was that in the diagram that is provided with simulator the properties Video, Sub and Main are in pascal case. But the script is case sencitive.
Where can I see object model specifications, that are up-to-date?
Are they published?
If you mean
it doesn't contain information about the Object Model