【问题标题】:The YouTubePlayerView is obscured by com.lbe.security.service.core.client.a.fYouTubePlayerView 被 com.lbe.security.service.core.client.a.f 遮挡
【发布时间】:2015-01-08 06:39:54
【问题描述】:

我创建了一个 Android 应用程序 https://play.google.com/store/apps/details?id=com.bhajanganga,它使用 YouTubeAndroidPlayerAPI 嵌入了您的电子管视频。 除了流行的中文Xiaomi 手机外,这些视频在所有手机上都可以正常播放。在小米手机上,会抛出以下异常:

10-28 12:35:12.870 19717-19717/com.bhajanganga W/YouTubeAndroidPlayerAPI: 由于播放器顶部未经授权的覆盖,YouTube 视频播放停止。 YouTubePlayerView 被 com.lbe.security.service.core.client.a.f{42697718 V.E............. 0,0-720,1280} 遮挡。 YouTubePlayerView 被完全覆盖,遮蔽视图的每个边缘与 YouTubePlayerView 之间的距离(以 px 为单位)为:left: 0, top: 713, right: 0, bottom: 0..

也许透明视图与 YouTubeAndroidPlayer 视图重叠。

有人可以分享示例代码以从 com.lbe.security.service.core.client.a.f 获取资源 id,以便我可以尝试将可见性设置为 View.GONE。

或者请提出任何其他解决方案。

【问题讨论】:

    标签: android youtube


    【解决方案1】:

    这不是 youtube api 中的错误。也许透明视图与 YouTubeAndroidPlayer 视图重叠。而且小米在 MIUI 50.0 版本中似乎已经解决了这个 bug。

    在 MIUI 50.0 及更高版本中不会注意到此错误。

    https://code.google.com/p/gdata-issues/issues/detail?id=6736

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-07
      • 1970-01-01
      • 2023-01-27
      • 2011-11-12
      • 2014-02-13
      相关资源
      最近更新 更多