Show your blocks.
Why did you put FileAccess property under FileUploadedNeeded
event?
i just try it but it wont work any of it
do it need action ?
Yes. Please set it to android.intent.action.GET_CONTENT
Can i use multiple custom web viewer (say 100) at a time in a single screen with same url?
Yes, you can, if you are aware of CustomWebView working mechanism.
How can I get the URL when the OnNewWindowRequest
is called? There is no url
parameter.
Did you search? Or read the topic?
This will not work; I just need the URL.
I want to use an online radar with alert overlay displayed in the CustomWebView, and when a user clicks on the alert details, the OnNewWindowRequest
is called. In the URL it is to open is the id
of that alert, and by using various text manipulation blocks, I need to retrieve the ID and pass it as a start value to a new screen.
You can use the method I used in earlier versions of extension.
When new window is requested, create an invisible webview and load request in it. Now as soon as page is loaded completely in this invisible webview, get the url and remove it.
For snippets related to CustomWebView please visit here:
MIT can redistribute this extension:
I, vknow360 aka Sunny Gupta, attest that I am the author of the CustomWebView extension , grant that the extension included in this project is free and that MIT has a non-exclusive irrevocable license to republish the extension as part of the project file for the purposes of the MIT App Inventor Appathon 2023.
Hi @vknow360 ,
have You an idea why your CustomWebView cannot play the stream below?
https://raievent10-elem-live.akamaized.net/hls/live/619189/raievent10/raievent10/playlist.m3u8
I tried with VLC and play correctly
Thank You
Best Regards
Marco
Hello @Marco_Perrone
It is not possible to play m3u8 or HLS videos in WebView.
They can be played only in Exo Player or equivalent player.
Hi @vknow360,
thank You for your reply, but I don't think is correct.
With my extension:
I collect m3u8 url and I can play with WebView
for example try this: https://cnn-cnninternational-1-eu.rakuten.wurl.tv/playlist.m3u8
I use CustomWebView.GoToUrl
Best Regards
Marco