Hello,
I'm having a resize button in my media overlay, and it works when I press it for the first time, but the second time I try to press it, it's giving me the following error.
WM 00:01:21:854: [T:3648] Onscreen Resize Pressed
WM 00:01:21:855: [T:3648] no default handler for resize
This is my overlay:
this.controls.overlay = new KONtx.control.MediaTransportOverlay({
forwardseekButton: true,
resizeButton: true,
backwardseekButton: true,
events: {
onTransportButtonPress: function(event) {
if(event.payload.button == "forwardseek") {
KONtx.mediaplayer.control.seek(30);
}
else if(event.payload.button == "backwardseek") {
KONtx.mediaplayer.control.seek(-30);
}else if(event.payload.button == "resize") {
this.getView().formaat();
}
}
}
}).appendTo(this);
I'm wondering why this is happening, is the handler deleted after I press it once?
Thanks in advance,
Jan Thiemen