QML Item visibility when web browser is opened from JS
-
Hi,
I have a scenario in which there is an image and a play button placed in the middle which basically tells the user that on pressing the play button it plays the video.
So the above design is implemented in JS and when we play the video its actually opening a local web browser in JS and then video is getting played.Now the situation is before playing the video I have access to a qml item which I have loaded and as soon as I play the video then I am calling a function showBaseView() through qml which further is trying to load another qml by changing the source (let's say Abc.qml) of the Loader element.
Now inside Abc.qml I am trying to print a log inside OnVisibilityChanged
but I am not getting the log printed.So my doubt is when the web browser which is opened through JS, then how can I make Abc.qml visible true ??