【发布时间】:2018-07-11 20:49:24
【问题描述】:
如果应用程序在我的应用程序中使用 youtube Video Player API 时进入暂停状态,则视频暂停。 但在 youtube android 应用程序中的不同行为。即使在暂停状态的应用程序中,它也会继续播放视频。 是否可以在 youtube sdk 中为 android 应用程序开发提供相同的支持
我正在使用多窗口
Case 1# Two application is opne in Multiwindow Mode
1-youtube
2-conatct
when I tap on conatct app youtube is in pause state and conatct app is in
resume state still youtube video kepp playing
Case 2# Two application is opne in Multiwindow Mode
1-MyApp(with Youtube API)
2-conatct
when I tap on conatct app MyApp is in pause state and conatct app is in
resume state still MyApp video stop playing.
So My application is in pause state and vsisible.
So how to handle myapp so it will work like case #1
【问题讨论】:
标签: android youtube youtube-api youtube-data-api