Android Youtube API: how to play video when YoutubeView is invisible -
i'm trying play youtube video android youtube api. use youtubeplayerfragment , add view container. works when view container visible. tried make view container invisible. stops working , throws error "youtube video playback stopped because player's view not visible". i'm wondering there anyway can play video view invisible?
it's not possible, if try tricks.
this because sdk monitors view tree current window
, therefore able see if placed on youtube video container.
Comments
Post a Comment