German Buchmuller Member Licensed User Longtime User Dec 24, 2019 #1 Hi, is it possible to disable the sound played by an html loaded in a WebView? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Dec 25, 2019 #2 If you are loading a specific page then you might be able to inject JavaScript to disable the sounds. Another option is to mute the correct channel with Phone.SetMute. Make sure to use Try / Catch with SetMute as it will throw an exception if the Do Not Distribute option is enabled (unless you handle the special permission). Upvote 0
If you are loading a specific page then you might be able to inject JavaScript to disable the sounds. Another option is to mute the correct channel with Phone.SetMute. Make sure to use Try / Catch with SetMute as it will throw an exception if the Do Not Distribute option is enabled (unless you handle the special permission).
German Buchmuller Member Licensed User Longtime User Dec 26, 2019 #3 Great, how can I inject Javascript code on the webpage im showing? In addition, my webpage autosaves progress once webpage is closed. I need to somehow get the WebView know that the user minimized the App or closed it. How can I make it? Thanks Upvote 0
Great, how can I inject Javascript code on the webpage im showing? In addition, my webpage autosaves progress once webpage is closed. I need to somehow get the WebView know that the user minimized the App or closed it. How can I make it? Thanks
DonManfred Expert Licensed User Longtime User Dec 26, 2019 #4 German Buchmuller said: Great, how can I inject Javascript code on the webpage im showing? Click to expand... The Forumsearch is working. Did you tried it? Upvote 0
German Buchmuller said: Great, how can I inject Javascript code on the webpage im showing? Click to expand... The Forumsearch is working. Did you tried it?