B4X FEED How to unmute the sound in a HTML5 TV streams player

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: How to unmute the sound in a HTML5 TV streams player است. این موضوع تا کنون 110 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع How to unmute the sound in a HTML5 TV streams player
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
110
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
In recent months almost half of all local Dutch TV stations have switched to HTML5 to stream their programs. I have managed to get a HTML5 TV player working on the basis of:


I put together a little app to wrap an HTML5 app in B4A. Of course you could do this with phonegap, or something else, but you get a lot more power and control using B4A. Using jsinterface from webviewextras, you can interact between B4A code and your HTML5/js app. This opens up the full...
برای دیدن تصاویر باید ثبت نام کنید

The only problem is that the sound of nearly all stations is muted once the player starts. The user has to press the loudspeaker button to listen to the sound.
I have temporarily solved it by simulating two mouse clicks (using gesturedetector): the first click is to make the controls appear and the second is to click on the loudspeaker button. It works, but is rather clumsey and probably won't work on screens with different aspect ratio.

Can someone please make a javascript that automatically clicks on the loudspeaker button once the webview pagefinished event has fired? In the html source the code "mute=muted" then disappears. Here is my code:
HTML5 TV player:

Sub Process_Globals...


 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا