If setting the src of WebView to ex. www.youtube.com, and then play a video, there is no sound on iOS11.
iOS10 works fine.
iOS11 (haven't tested on Android)
Create a new project, insert a WebView with src="https://www.youtube.com".
And play a video on youtube.
<Page class="page"
navigatingTo="onNavigatingTo"
xmlns="http://www.nativescript.org/tns.xsd">
<GridLayout rows="*">
<WebView id="webView" src="https://www.youtube.com" />
</GridLayout>
</Page>
@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.
@NickIliev Thank you.
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 Strangely enough, this was not the case on our iOS 11 device - will retest and come back with more info.
@gregersen79 Update: it appears that indeed the sound is by default turned off and only after manually pressing the ring hardware button the sound is turned on. Closing this issue as expected behavior for iOS.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
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?