Yes, I want play video as a music. Youtube has many music videos. On 6月19日, 午前3:03, Justin Anderson <[email protected]> wrote: > Maybe it's just me, but why in the world would you want to play a video in > the background? Playing music in the background makes sense, but a video? > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://sites.google.com/site/magouyaware > > > > > > > > On Fri, Jun 15, 2012 at 1:59 AM, snow69it <[email protected]> wrote: > > Hi, All: > > > I am developing youtube player which can play in background as > > service. > > Because MediaPlayer class can play only 3gp, so I use webview and > > youtube api chromeless player. > > > It works well in Activity, but not work in Service, because the player > > can't initialized in background. > > (When Chromeless player is initialized, Chromeless player call > > onYouTubePlayerReady(playerId) callback function. But it never called > > in background.) > > > I found that player can't initialize in Activity if webview is hidden > > in any other views. > > > How to initialize the player in background? > > Or are there any other way to play youtube video in background > > service? > > > Hope your help. > > Thanks and Regard > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

