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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to