EricssonResearch/bowser

Playing audio in HTML audio tag doesn't work

Opened this issue · 2 comments

It seems that playing audio in the audio tag doesn't work.

Regards,
matt

Bowser extends the WKWebView and should therefore support most of the things that Mobile Safari does. Do you know if playing audio works there?

I just stumbled upon these extra configs that may solve your problem:

WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init];
config.allowsInlineMediaPlayback = YES;
config.mediaPlaybackRequiresUserAction = false;

Do you have the possibility to test this yourself?