question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android not working inline

See original GitHub issue

I know this issue has been reported (and resolved) in the past but I couldn’t find a clear open issue addressing the current issues.

I’m running RN 0.43.3 and tried using both master and v1 of this repo, set to tag 1.0.0-alpha.3 and testing on Genymotion.

When fullscreen is set to false or not set, the YouTube player completely doesn’t work, not showing the controls or the cover image, even when trying previous techniques of forcing a re-render or changing orientation or even rendering <YouTube /> as the only top level component.

For example, this is one of the layouts I tried:

const App = () => (
  <YouTube
    apiKey={API_KEY}
    play
    controls={2}
    videoId="hrbI08iulzA"
    style={{ height: 200, width: 200 }}
  />
)

The complete log for this render is as follows:

04-24 22:16:55.559  2541  3409 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/watchtime?docid=hrbI08iulzA&embedding_app=com.roller&cl=154052414&plid=AAVN8B_auiEoJjw4&of=sidReqaeP4yRcfYsI6hTkw&autoplay=1&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&ei=PWv-WISeGInYWZzkkvgN&el=embedded&vm=CAEQAA&ns=yt&len=605&cpn=sijob_0RUuHCeiVP&ver=2&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&splay=1&rt=10.0&fmt=278&afmt=139&state=paused&uao=0&st=0.0&vis=0&et=0.9&conn=3&snd=0&vnd=0&rti=10.0&rtn=20.0
04-24 22:16:55.577  2541  3369 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:55.577  2541  3369 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:55.577  2541  3369 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:55.614  3317  3317 E unknown:React: Got DOWN touch before receiving UP or CANCEL from last gesture
04-24 22:16:55.622  2541  3369 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:55.622  2541  3369 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:55.622  2541  3369 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.103  3317  3342 W EGL_emulation: eglSurfaceAttrib not implemented
04-24 22:16:56.103  3317  3342 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xd87a77e0, error=EGL_SUCCESS
04-24 22:16:56.244  3317  3342 E Surface : getSlotFromBufferLocked: unknown buffer: 0xf2bcc4d0
04-24 22:16:56.250  3317  3350 W unknown:React: Tried to enqueue runnable on already finished thread: 'native_modules... dropping Runnable.
04-24 22:16:56.251  3317  3350 W MessageQueue: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {ec33fb6} sending message to a Handler on a dead thread
04-24 22:16:56.251  3317  3350 W MessageQueue: java.lang.IllegalStateException: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {ec33fb6} sending message to a Handler on a dead thread
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Handler.enqueueMessage(Handler.java:631)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Handler.sendMessageAtTime(Handler.java:600)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Handler.sendMessageDelayed(Handler.java:570)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Handler.post(Handler.java:326)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl.runOnQueue(MessageQueueThreadImpl.java:61)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Handler.handleCallback(Handler.java:739)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Handler.dispatchMessage(Handler.java:95)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at android.os.Looper.loop(Looper.java:148)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
04-24 22:16:56.251  3317  3350 W MessageQueue: 	at java.lang.Thread.run(Thread.java:818)
04-24 22:16:56.266  3317  3317 W unknown:React: Packager connection already open, nooping.
04-24 22:16:56.266  3317  3317 W unknown:React: Inspector connection already open, nooping.
04-24 22:16:56.266   713  2122 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@8328086 attribute=null, token = android.os.BinderProxy@294dc20
04-24 22:16:56.271  3317  3317 W unknown:React: Packager connection already open, nooping.
04-24 22:16:56.271  3317  3317 W unknown:React: Inspector connection already open, nooping.
04-24 22:16:56.276  2541  3424 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/watchtime?docid=hrbI08iulzA&embedding_app=com.roller&cl=154052414&plid=AAVN8B_auiEoJjw4&of=sidReqaeP4yRcfYsI6hTkw&autoplay=1&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&ei=PWv-WISeGInYWZzkkvgN&el=embedded&vm=CAEQAA&ns=yt&len=605&cpn=sijob_0RUuHCeiVP&ver=2&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&splay=1&rt=10.7&fmt=278&afmt=139&state=paused&uao=0&st=0.9&vis=0&et=0.9&conn=3&snd=0&vnd=0&rti=20.0
04-24 22:16:56.282  2541  2541 E ActivityThread: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver tzq@8a557f5 that was originally registered here. Are you missing a call to unregisterReceiver()?
04-24 22:16:56.282  2541  2541 E ActivityThread: android.app.IntentReceiverLeaked: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver tzq@8a557f5 that was originally registered here. Are you missing a call to unregisterReceiver()?
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:918)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:719)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1172)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1152)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1146)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:554)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at vgb.<init>(SourceFile:53)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at vgj.get(SourceFile:32)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at acab.get(SourceFile:10)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at hmg.a(SourceFile:26)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at hnb.a(SourceFile:886)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at hlz.<init>(SourceFile:13)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at com.google.android.apps.youtube.embeddedplayer.service.service.jar.ApiPlayerService.<init>(SourceFile:60)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at com.google.android.apps.youtube.embeddedplayer.service.service.jar.ApiPlayerFactoryService$1.run(SourceFile:10)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.os.Handler.handleCallback(Handler.java:739)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.os.Handler.dispatchMessage(Handler.java:95)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.os.Looper.loop(Looper.java:148)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at java.lang.reflect.Method.invoke(Native Method)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
04-24 22:16:56.282  2541  2541 E ActivityThread: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-24 22:16:56.283  2541  2541 E ActivityThread: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver tzt@f60d500 that was originally registered here. Are you missing a call to unregisterReceiver()?
04-24 22:16:56.283  2541  2541 E ActivityThread: android.app.IntentReceiverLeaked: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver tzt@f60d500 that was originally registered here. Are you missing a call to unregisterReceiver()?
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:918)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:719)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1172)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1152)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1146)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:554)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at tzr.<init>(SourceFile:21)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at tzy.get(SourceFile:9)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at vgj.get(SourceFile:31)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at acab.get(SourceFile:10)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at hmg.a(SourceFile:26)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at hnb.a(SourceFile:886)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at hlz.<init>(SourceFile:13)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at com.google.android.apps.youtube.embeddedplayer.service.service.jar.ApiPlayerService.<init>(SourceFile:60)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at com.google.android.apps.youtube.embeddedplayer.service.service.jar.ApiPlayerFactoryService$1.run(SourceFile:10)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.os.Handler.handleCallback(Handler.java:739)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.os.Handler.dispatchMessage(Handler.java:95)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.os.Looper.loop(Looper.java:148)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at java.lang.reflect.Method.invoke(Native Method)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
04-24 22:16:56.283  2541  2541 E ActivityThread: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-24 22:16:56.284  2541  3385 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/qoe?docid=hrbI08iulzA&ei=PWv-WISeGInYWZzkkvgN&cl=154052414&event=streamingstats&plid=AAVN8B_auiEoJjw4&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&ns=yt&cpn=sijob_0RUuHCeiVP&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&seq=2&bat=10.730:0.720:0&vps=10.725:SU&conn=10.725:3&bwm=10.725:78210:0.178&fmt=278
04-24 22:16:56.290   407   407 E Drm     : Failed to find drm plugin
04-24 22:16:56.290   713   725 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
04-24 22:16:56.290  2014  2822 W DG.WV   : Widevine DRM not supported on this device
04-24 22:16:56.290  2014  2822 W DG.WV   : android.media.UnsupportedSchemeException: Failed to instantiate drm object.
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at android.media.MediaDrm.native_setup(Native Method)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at android.media.MediaDrm.<init>(MediaDrm.java:215)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at omq.a(:com.google.android.gms:122)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at ojj.run(:com.google.android.gms:1095)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at llt.run(:com.google.android.gms:450)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at lqc.run(:com.google.android.gms:17)
04-24 22:16:56.290  2014  2822 W DG.WV   : 	at java.lang.Thread.run(Thread.java:818)
04-24 22:16:56.302  2541  3368 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.302  2541  3368 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.302  2541  3368 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.323  2541  3368 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:56.323  2541  3368 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:56.323  2541  3368 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.410  2541  3366 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:56.410  2541  3366 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:56.410  2541  3366 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.426   713   741 W AppOps  : Finishing op nesting under-run: uid 10080 pkg com.roller code 24 time=0 duration=0 nesting=0
04-24 22:16:56.511  3317  3449 W ReactNativeJS: Warning: Invalid argument supplied to oneOf, expected an instance of array.
04-24 22:16:56.512  3317  3449 W ReactNativeJS: Warning: Invalid argument supplied to oneOf, expected an instance of array.
04-24 22:16:56.530  3317  3449 W ReactNativeJS: Warning: Invalid argument supplied to oneOf, expected an instance of array.
04-24 22:16:56.582  3317  3449 I ReactNativeJS: Running application "roller" with appParams: {"initialProps":{},"rootTag":1}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
04-24 22:16:56.599  3317  3449 I ReactNativeJS: null
04-24 22:16:56.641  3317  3317 W YouTubeAndroidPlayerAPI: Forcefully created overlay:uyg@3047425 helper:Lazy@de6e9fa view:null status: ...... {...}
04-24 22:16:56.647   713  1077 I MediaFocusControl:  AudioFocus  requestAudioFocus() from android.media.AudioManager@a869ebtzu@ebce348 req=1flags=0x0
04-24 22:16:56.649  2541  3384 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/watchtime?docid=hrbI08iulzA&embedding_app=com.roller&cl=154052414&plid=AAVN8B_auiEoJjw4&of=sidReqaeP4yRcfYsI6hTkw&autoplay=1&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&ei=PWv-WISeGInYWZzkkvgN&el=embedded&vm=CAEQAA&ns=yt&len=605&cpn=sijob_0RUuHCeiVP&ver=2&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&splay=1&rt=11.1&fmt=278&afmt=139&state=paused&uao=0&st=0.9&vis=0&et=0.9&conn=3&snd=0&vnd=0&final=1
04-24 22:16:56.653  2541  3408 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/qoe?docid=hrbI08iulzA&ei=PWv-WISeGInYWZzkkvgN&cl=154052414&event=streamingstats&plid=AAVN8B_auiEoJjw4&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&ns=yt&cpn=sijob_0RUuHCeiVP&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&seq=3&bat=11.101:0.720:0&vps=11.097:N&conn=11.098:3&fmt=278&sur=11.095:3
04-24 22:16:56.656  2541  3377 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.656  2541  3377 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.656  2541  3377 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.656  2541  3367 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.656  2541  3367 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.656  2541  3367 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.688  2541  3369 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.688  2541  3369 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.688  2541  3369 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.689  2541  3368 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.689  2541  3368 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.689  2541  3368 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.713  2541  3368 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:56.713  2541  3368 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:56.713  2541  3368 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.713  2541  3369 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:56.713  2541  3369 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:56.713  2541  3369 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.820  2541  3377 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:56.820  2541  3377 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:56.820  2541  3377 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.830  2541  2541 W GmsClientEvents: registerConnectionFailedListener(): listener kmq@d5be2d3 is already registered
04-24 22:16:56.853  2541  3460 I OMXClient: Using client-side OMX mux.
04-24 22:16:56.862  2541  3461 I SoftAAC2: limiting to stereo output
04-24 22:16:56.874  2541  3461 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
04-24 22:16:56.932  2541  3367 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:56.932  2541  3367 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:56.932  2541  3367 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:56.953  2541  3408 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/playback?ns=yt&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&embedding_app=com.roller&ei=SGv-WL7fKcXWW5_WstAF&docid=hrbI08iulzA&el=embedded&plid=AAVN8CCHFJD6wdhP&of=sidReqaeP4yRcfYsI6hTkw&cl=154052414&vm=CAEQAA&len=605&autoplay=1&cpn=bso1mLJfLg4H9BRZ&ver=2&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&splay=1&rt=0.1&fmt=247&afmt=140&cmt=0.0&conn=3&vis=0&vnd=0&snd=0&uao=0&volume=0&delay=4&rtn=10.0
04-24 22:16:56.987  2541  3366 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.987  2541  3366 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.987  2541  3368 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.987  2541  3368 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.987  2541  3368 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.988  2541  3366 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:56.988  2541  3369 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:56.988  2541  3369 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:56.988  2541  3369 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:57.007  2541  3368 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:57.007  2541  3368 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:57.007  2541  3368 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:57.007  2541  3367 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:57.007  2541  3367 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:57.007  2541  3367 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:57.035  2541  3366 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:57.035  2541  3366 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:57.035  2541  3366 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:57.039  2541  3369 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:57.039  2541  3369 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:57.039  2541  3369 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:57.041  2541  3367 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:57.042  2541  3367 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:57.042  2541  3367 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:57.853  3317  3317 W YouTubeAndroidPlayerAPI: YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is not contained inside its ancestor android.widget.FrameLayout{214a6b4 V.E...... ......I. 0,0-0,0}. The distances between the ancestor's edges and that of the YouTubePlayerView is: left: 0, top: 0, right: 0, bottom: 0 (these should all be positive).
04-24 22:16:57.861  2541  3424 W YouTubeAndroidPlayerAPI: Pinging https://s.youtube.com/api/stats/qoe?ns=yt&plid=AAVN8CCHFJD6wdhP&cl=154052414&fexp=9414875%2C9415293%2C9419451%2C9422596%2C9428595%2C9429003%2C9431012%2C9434104%2C9434289%2C9437142%2C9444635%2C9445623%2C9445836%2C9446054%2C9446364%2C9448885%2C9449243%2C9453897%2C9456640%2C9456940%2C9457141%2C9457477%2C9458576%2C9459178%2C9462710%2C9463572%2C9463594%2C9463965%2C9464083%2C9464088%2C9464267%2C9464341%2C9464357%2C9465438%2C9465533%2C9465937%2C9466777%2C9466777%2C9466793%2C9466795%2C9466981%2C9467334%2C9469224%2C9469326%2C9470047%2C9471453%2C9472097%2C9472288%2C9472525&event=streamingstats&ei=SGv-WL7fKcXWW5_WstAF&docid=hrbI08iulzA&cpn=bso1mLJfLg4H9BRZ&csdk=23&cbrand=Genymotion&c=otherapp&cbrver=12.14.56&cmodel=Google%20Nexus%205X%20-%206.0.0%20-%20API%2023%20-%201080x1920&cplatform=mobile&cver=12.14.56&cbr=com.google.android.youtube.api&cosver=6.0&cos=Android&seq=1&bat=0.000:0.720:0,1.031:0.720:0&vis=0.008:0&conn=1.029:3&bwm=1.029:4423450:0.874&vfs=0.033:247:247::i&sur=0.008:3,1.029:1&bwe=0.033:1071297.50&ctmp=hp:-1,ibws:1&afs=0.033:140::i&vps=0.000:N,0.009:B,0.117:PL,1.029:N&fmt=247&bh=1.029:4.97
04-24 22:16:57.869  2541  3368 I qtaguid : Failed write_ctrl(t -1 0 -1) res=-1 errno=9
04-24 22:16:57.869  2541  3368 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9
04-24 22:16:57.869  2541  3368 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9
04-24 22:16:57.910  2541  3368 I qtaguid : Failed write_ctrl(u -1) res=-1 errno=9
04-24 22:16:57.910  2541  3368 I qtaguid : Untagging socket -1 failed errno=-9
04-24 22:16:57.910  2541  3368 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9
04-24 22:16:57.920   713   725 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
04-24 22:16:57.920  1460  1521 I Finsky  : [104] com.google.android.finsky.f.f.run(2154): Replicating app states via DFE.
04-24 22:16:57.920   713   880 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
04-24 22:16:57.958  1460  1521 I Finsky  : [104] com.google.android.finsky.f.d.a(319): Completed 0 account content syncs with 0 successful.
04-24 22:16:57.958  1460  1460 I Finsky  : [1] com.google.android.finsky.services.j.a(149): Installation state replication succeeded.
^C
barakmacbook:roller barak$

The 3 issues I noticed though I don’t know if they are related:

Failed to find drm plugin
ActivityThread: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver tzq@8a557f5 that was originally registered here. Are you missing a call to unregisterReceiver()?
04-24 22:16:56.282  2541  2541 E ActivityThread: android.app.IntentReceiverLeaked: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver tzq@8a557f5 that was originally registered here. Are you missing a call to unregisterReceiver()?

And the problem of having the player covered, even when it is the only thing rendered:

YouTubeAndroidPlayerAPI: YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is not contained inside its ancestor android.widget.FrameLayout{214a6b4 V.E...... ......I. 0,0-0,0}. The distances between the ancestor's edges and that of the YouTubePlayerView is: left: 0, top: 0, right: 0, bottom: 0 (these should all be positive).

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
BarakChamocommented, Apr 25, 2017

I tried the example on v1, after fetching, npm installing and linking the repos.

The player still doesn’t work: screen shot 2017-04-25 at 3 09 18 pm

this is the output from the log:

04-25 15:07:19.386  2775  2965 W unknown:React: Tried to enqueue runnable on already finished thread: 'native_modules... dropping Runnable.
04-25 15:07:19.386  2775  2965 W MessageQueue: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {e006ad6} sending message to a Handler on a dead thread
04-25 15:07:19.386  2775  2965 W MessageQueue: java.lang.IllegalStateException: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {e006ad6} sending message to a Handler on a dead thread
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Handler.enqueueMessage(Handler.java:631)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Handler.sendMessageAtTime(Handler.java:600)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Handler.sendMessageDelayed(Handler.java:570)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Handler.post(Handler.java:326)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl.runOnQueue(MessageQueueThreadImpl.java:61)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Handler.handleCallback(Handler.java:739)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Handler.dispatchMessage(Handler.java:95)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at android.os.Looper.loop(Looper.java:148)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
04-25 15:07:19.386  2775  2965 W MessageQueue: 	at java.lang.Thread.run(Thread.java:818)
04-25 15:07:19.387  2775  2775 W unknown:React: Packager connection already open, nooping.
04-25 15:07:19.387  2775  2775 W unknown:React: Inspector connection already open, nooping.
04-25 15:07:19.414  2775  2796 W EGL_emulation: eglSurfaceAttrib not implemented
04-25 15:07:19.414  2775  2796 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xd6b39ac0, error=EGL_SUCCESS
04-25 15:07:19.431  2775  2796 E Surface : getSlotFromBufferLocked: unknown buffer: 0xdede45f0
04-25 15:07:19.437  2775  2775 W unknown:React: Packager connection already open, nooping.
04-25 15:07:19.437  2775  2775 W unknown:React: Inspector connection already open, nooping.
04-25 15:07:19.441   613   642 W AppOps  : Finishing op nesting under-run: uid 10070 pkg com.rctyoutubeexample code 24 time=0 duration=0 nesting=0
04-25 15:07:19.442   613   759 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@bcb53cb attribute=android.view.inputmethod.EditorInfo@31cb7a8, token = android.os.BinderProxy@35c2c59
0reactions
davidohayon669commented, Apr 25, 2017

Notice the error message of the component… it’s pretty verbose

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio not showing Inline Error - java - Stack Overflow
Android Studio not showing Inline Error · 1) Clean Project · 2) Rebuild project · 3) Invalidate cache and restart · 4) Check...
Read more >
inline autofill on android not available - GoTo Community
The lastpass release notes say that inline autofill is available. I followed the instructions on the linked page, but the inline option is...
Read more >
Inline autofill isn't working for me (Android 11) : r/Bitwarden
I'm using edge browser and have the same problem. Seems hit or miss and I was beginning to think it was url specific...
Read more >
is Inline not working / having issues for you? - 99images
Do you have Inline app problems? We have instructions to fix the not working issue, loading problems or the common black screen /...
Read more >
Inline autofill not showing up on Android 13
I'm in the middle of switching from one unrooted Pixel 4a running Android 13 (cracked screen) to another unrooted Pixel 4a running Android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found