我正在尝试将 aYouTubePlayerSupportFragment
放在SlidingDrawer
视图中。但是,当它运行时,视频会在 1 秒后停止,并在 LogCat 中发布以下内容:
W/YouTubeAndroidPlayerAPI(1778): YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is obscured by ViewName{41726520 V.E..... ........ 0,0-720,1038 #7f060040 app:id/drawer}. YouTubePlayerView is completely covered, with the distance in px between each edge of the obscuring view and the YouTubePlayerView being: left: 0, top: 241, right: 0, bottom: 392..
打开,SlidingDrawer
视频完全可见,没有被遮挡。有谁知道解决这个问题?
谢谢