Mattiaf Active Member Licensed User Nov 9, 2022 #1 Hi, I'm plying a stream through webview which starts muted, not in fullsscreen and not played. I already tried soo many times in other topics too to use different players like octopus, but it doesn't support this kind of format. The full code of the frame is on this pastebin I grabbed the frame code and I can see some option setted the way I was thinking, like ,videoStarted = false , startMuted = startMuted() <script>var WSreloadCounter=false,WSnTries=0,videoStarted = false, startMuted = startMuted() is there any way to inject some javascript in order to get the options I want ? Thanks
Hi, I'm plying a stream through webview which starts muted, not in fullsscreen and not played. I already tried soo many times in other topics too to use different players like octopus, but it doesn't support this kind of format. The full code of the frame is on this pastebin I grabbed the frame code and I can see some option setted the way I was thinking, like ,videoStarted = false , startMuted = startMuted() <script>var WSreloadCounter=false,WSnTries=0,videoStarted = false, startMuted = startMuted() is there any way to inject some javascript in order to get the options I want ? Thanks
TILogistic Expert Licensed User Longtime User Nov 10, 2022 #2 You don't have to inject anything, you just have to run the functions of the video manipulation framework ExecuteJavaScript player.destroy(); player.mute(); player.play(); player.unmute(); Click to expand... Upvote 0
You don't have to inject anything, you just have to run the functions of the video manipulation framework ExecuteJavaScript player.destroy(); player.mute(); player.play(); player.unmute(); Click to expand...
Mattiaf Active Member Licensed User Nov 10, 2022 #3 TILogistic said: You don't have to inject anything, you just have to run the functions of the video manipulation framework ExecuteJavaScript Click to expand... wow I cant try it right now but if thats works it would be AMAZING af!!! what does player.destroy? is there anything to fullscreen it? Upvote 0
TILogistic said: You don't have to inject anything, you just have to run the functions of the video manipulation framework ExecuteJavaScript Click to expand... wow I cant try it right now but if thats works it would be AMAZING af!!! what does player.destroy? is there anything to fullscreen it?
Mattiaf Active Member Licensed User Nov 10, 2022 #4 TILogistic said: You don't have to inject anything, you just have to run the functions of the video manipulation framework ExecuteJavaScript Click to expand... I've just tried with B4X: Sub btnGo_Click UltimateWebView1.Settings.JavaScriptEnabled=True UltimateWebView1.ExecuteJavaScript("player.unmute();") End Sub but it doesn't unmute anything.. What Am i doing wrong? Upvote 0
TILogistic said: You don't have to inject anything, you just have to run the functions of the video manipulation framework ExecuteJavaScript Click to expand... I've just tried with B4X: Sub btnGo_Click UltimateWebView1.Settings.JavaScriptEnabled=True UltimateWebView1.ExecuteJavaScript("player.unmute();") End Sub but it doesn't unmute anything.. What Am i doing wrong?