Open rajscet opened 2 years ago
I have the same error
does it work with just a webview with the youtube URL?
eg:
<WebView
source={{ uri: 'https://www.youtube.com/embed/4FO6E7EsYaY }}
style={{ height: 100, width: 100 }}
/>
nope, i think the issue is there
looks like an issue with the underlying webview. Either the firestick doesn't support standard webview features, or there's a bug inside rn-webview package. Y'all can try opening an issue over there.
have somebody solve this issue? same here.
Hi @kiashan, I have been able to run the library on a firestick, just add forceAndroidAutoplay
<YoutubePlayer
width={dimensions.width}
height={dimensions.height}
videoId={'youtube_id'}
play
onChangeState={onStateChange}
forceAndroidAutoplay={true} // important
/>
Hi @kiashan, I have been able to run the library on a firestick, just add forceAndroidAutoplay
<YoutubePlayer width={dimensions.width} height={dimensions.height} videoId={'youtube_id'} play onChangeState={onStateChange} forceAndroidAutoplay={true} // important />
Some video are not working like this one - https://www.youtube.com/watch?v=0tIlu88BUWM&t=1s
Describe the bug Video is not loading in amazon firestick
To Reproduce Steps to reproduce the behavior:
Expected behavior Video is not load and not play with amazon firestick while work in android and ios smart tv
Screenshots![notworking](https://user-images.githubusercontent.com/6961313/174957420-f7d8f24c-5fea-4364-b6dd-4addfe901b55.jpeg)
Smartphone (please complete the following information):
react-native-youtube-iframe
versionreact-native-webview
2.2.2