StandOut icon indicating copy to clipboard operation
StandOut copied to clipboard

Play a youtube video inside a StandoutWindow

Open alex199568 opened this issue 8 years ago • 0 comments

I tried to play a youtube video inside a standoutwindow using android youtube library. I don't think it's possible because youtube view needs a YouTubeBaseActivity, but StandoutWIndow is a Service, therefore YouTubePlayerView cannot be used here. Youtube player library also provides a YouTubePlayerFragment which also cannot be used because StandoutWindow cannot use fragments. I could place a WebView inside a StandOut window and play a youtube video with it. But using a webview is a bit clumsy and it works slower than youtube library.

Also, did you try to play a video from a URL inside a StandoutWIndow?

alex199568 avatar Oct 10 '16 20:10 alex199568