You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue
Playback doesn't start and loader spins infinitely when running on Amazon Fire Stick.
In app logs I can see "Buffering" event, but not "Playing".
I've tried on emulator and everything works fine.
Additional context
Amazon Fire OS uses their own WebView (com.amazon.webview.chromium), I tried to disable it and enable com.google.chrome, but no luck.
I have tried all the available props, also WebViewProps, but no luck.
The issue
Playback doesn't start and loader spins infinitely when running on Amazon Fire Stick.
In app logs I can see "Buffering" event, but not "Playing".
I've tried on emulator and everything works fine.
Screenshots

Video
https://github.com/user-attachments/assets/d48f050f-d108-497a-b6be-8d84dd78b53b
Device Info:
react-native
0.76.7react-native-youtube-iframe
^2.2.2react-native-webview
13.12.5expo
~52.0.35Additional context
Amazon Fire OS uses their own WebView (com.amazon.webview.chromium), I tried to disable it and enable com.google.chrome, but no luck.
I have tried all the available props, also WebViewProps, but no luck.
<YoutubePlayer mute={true} ref={playerRef} forceAndroidAutoplay={true} volume={0} height={500} play={true} videoId={'x22TJMv2RYo'} onReady={onReady} onError={(error) => console.log('WebView error: ', error)} webViewProps={{ originWhitelist: ['*'], mediaPlaybackRequiresUserAction: false, javaScriptEnabled: true, domStorageEnabled: true, androidHardwareAccelerationDisabled: true, allowsFullscreenVideo: true, cacheEnabled: true, androidLayerType: "software", userAgent: "Mozilla/5.0 (Linux; Android 4.2.2; AFTB Build/JDQ39) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.173 Mobile Safari/537.22 cordova-amazon-fireos/3.4.0 AmazonWebAppPlatform/3.4.0;2.0", }} initialPlayerParams={{ controls: false, }} onChangeState={onStateChange}></YoutubePlayer>
Here is also error from logcat
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 2025-02-19 17:51:16.694 11232-11232 AWVMetrics...ybackEvent com.emilhakobian.yotube E Failed to start playback mActiveTimer false mEvent: com.amazon.webview.metrics.client.impl.MetricEventImpl@24fd277
The text was updated successfully, but these errors were encountered: