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?
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?