Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play a youtube video inside a StandoutWindow #38

Open
alex199568 opened this issue Oct 10, 2016 · 0 comments
Open

Play a youtube video inside a StandoutWindow #38

alex199568 opened this issue Oct 10, 2016 · 0 comments

Comments

@alex199568
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant