Hello again,
I'm now at resizing transport overlay buttons.
CODE
this.controls.overlay = new KONtx.control.VideoTransportOverlay({
stopButton: false,
resizeButton: true,
events: {
onTransportButtonPress: function(event) {
switch (event.payload.button) {
case 'resize' :
theView._togglePlayer();
break;
}
}
},
}).appendTo(this);
This works fine on the simulator, but my Samsung 7000 series does not understand stopButton: false and resizeButton: true. Other issue is that when i set width, overlay control is just clipped, but not resized (so i cant see progress bar and timer). Youtube widget dont have these problems (and its overlay is not transparent, mine is as it is by default, and its buttons are ok)
I'm using the following styles (only width, x, y)
CODE
{ 'width': 402, 'vOffset': 388, 'hOffset': 526 }
Thanks, Nikola