WebView no sound on iOS11
See original GitHub issueIf setting the src of WebView to ex. www.youtube.com, and then play a video, there is no sound on iOS11. iOS10 works fine.
Which platform(s) does your issue occur on?
iOS11 (haven’t tested on Android)
Please provide the following version numbers that your issue occurs with:
- CLI: 3.21
- Cross-platform modules: 3.2.0
- Runtime(s): 3.2.0
Please tell us how to recreate the issue in as much detail as possible.
Create a new project, insert a WebView with src=“https://www.youtube.com”. And play a video on youtube.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
<Page class="page"
navigatingTo="onNavigatingTo"
xmlns="http://www.nativescript.org/tns.xsd">
<GridLayout rows="*">
<WebView id="webView" src="https://www.youtube.com" />
</GridLayout>
</Page>
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Swift (latest) UIwebView no sound ? | Apple Developer Forums
When i load a local site in my webView, no sound is played. I use this code to play the sound in the...
Read more >iOS 11 webview audioplayer in background - Stack Overflow
Since update on iOS 11 my audioplayer in a webview stops when the app is in background. On iOS 10 the player keeps...
Read more >Unable to start WebRTC from Chrome Webview to IOS 11 ...
Issue 801501: Unable to start WebRTC from Chrome Webview to IOS 11, though it works from Chrome Browser · 1. In the device...
Read more >Understanding the WebView Viewport in iOS 11 - Ayogo
This post helps you understand the Webview Viewport in iOS 11. Note: Existing apps will continue working as they always have with no...
Read more >Summary - UniWebView
Whether the web view is supported in current runtime or not. ... Raised when a key (like back button or volume up) on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is a bit embarrassing, but just noticed the Ring/Silent button on the side of the iPhone was set to silent, after switching it on, I got sound on iOS11 (“unfortunately” all of our 3 iOS11 test devices where set to silent). @NickIliev could this also be the case in your end?
@gregersen79 I have created this test project and can confirm that indeed there is no sound on iOS11 real device. However, thеre is a sound when running on iOS 11 emulator and I have noticed that this issue is observed by native iOS developers (post here) so it might be related to native iOS 11 bug.
We will investigate further and post any related information in this thread.