It is taking more than 10 seconds for the specific webview page (url) to be opened/loaded completly. So, I wish to display an image/ video in that gap until the url is loaded perfectly and completly. So, how it is possible to know if the page is being loaded or loaded completly?
The purpose is to hide the white blank page that usually appear until the page is loaded completly.
How do you display an image until the webview page is loaded completly? As soon as the page is loaded the image has to disappear
I found this block that is attached below, But, there are no blocks in webviewer to put within this block so I can play a video file or display a picture until the page is fully loaded.
I think your should be able, not sure, but you could display an image/video using the image or the videoplayer instance. Set the webviewer to visible = false while loading, and the image; visible = true. And then once ut loaded swap this two values.
Yes, it worked but worked only in Companion and not working when the app is installed. I tried to play a video file until the web page is loaded completly.
I set the video in the designer section. And, I tested in block as well once.
When I add the block 'Set.VideoPlayer.Visible=FALSE' within When.Webviewer.Page.Loaded block, the error is happening.
If the above said block is disabled, then the .apk is playing video file but not in the expected way. When I include that block, the .apk file is not playing any video and its simply appearing as blank.
I tried by placing the video player within a Vertical Arrangement and then to hide the VA, but this also worked within companion and not working as .apk.
In companion everything is working fine but not working as .apk after installation.
I tried all these already. .apk file plays video if I disabled all blocks related to webviewer. Only when I add the above said block, it is not working. Can you check the .aia file that I shared.
There is no error in companion but the error is occuring in .apk.
Instead of hiding the video player, Once when i tried to set the height of video player as 100% at Screen.initialize and 0% after the Page is loaded, it worked. But, i modified it further and forgot the blocks. Now, it is not working.