问题描述
我使用下面的 YouTubeStandalonePlayer 代码片段来播放 YouTube 视频:
val intent = YouTubeStandalonePlayer.createVideoIntent(
activityContext() as Activity?,"API_KEY","VIDEO_ID",true,false)
context.startActivity(intent)
如果我清除缓存和数据并运行它,它就可以完美运行。但是当我第二次调用它时,视频播放了 1 秒并暂停。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)