React-native-youtube: Video not loading unless rotate device

Created on 16 May 2017  路  6Comments  路  Source: davidohayon669/react-native-youtube

I've loaded the video but it not display unless I rotate device. Please guide.

Most helpful comment

Same here: UNAUTHORIZED_OVERLAY
Only works if I set:

play={true}
fullscreen={true}

but I don't want the video to start in full screen.
I don't have anything else in the view, only the Youtube component.

All 6 comments

I got the same issue on Android with ReactNative 0.43.3.

I got this error 'Youtube onError', 'UNAUTHORIZED_OVERLAY'

05-18 15:14:12.311 22662 22732 I ReactNativeJS: 'Youtube onReady', { target: 533 }
05-18 15:14:12.426 22662 22732 I ReactNativeJS: 'Youtube onChangeState', 'stopped'
05-18 15:14:12.427 22662 22732 I ReactNativeJS: 'Youtube onChangeState', 'loading'
05-18 15:14:12.855 22662 22732 I ReactNativeJS: 'Youtube onChangeState', 'started'
05-18 15:14:12.939 22662 22732 I ReactNativeJS: 'Youtube onChangeState', 'buffering'
05-18 15:14:16.320 22662 22732 I ReactNativeJS: 'Youtube onChangeState', 'playing'
05-18 15:14:17.371 22662 22732 I ReactNativeJS: 'Youtube onError', 'UNAUTHORIZED_OVERLAY'
05-18 15:14:17.446 22662 22732 I ReactNativeJS: 'Youtube onChangeState', 'stopped'

Same here: UNAUTHORIZED_OVERLAY
Only works if I set:

play={true}
fullscreen={true}

but I don't want the video to start in full screen.
I don't have anything else in the view, only the Youtube component.

Has anyone found a solution to this? The fullscreen={true} works for me, but it's not necessarily what I'd call preferable. 馃槄

same error here. Duplicate of #161

161

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dblazeski picture dblazeski  路  5Comments

savioseb picture savioseb  路  4Comments

serialbandicoot picture serialbandicoot  路  4Comments

matthiasleitner picture matthiasleitner  路  5Comments

idhowardgj94 picture idhowardgj94  路  3Comments