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

Video Preview Gone When Given A shape to parent View #7764

Closed
Mr-Ramzan opened this issue Aug 16, 2020 · 6 comments
Closed

Video Preview Gone When Given A shape to parent View #7764

Mr-Ramzan opened this issue Aug 16, 2020 · 6 comments

Comments

@Mr-Ramzan
Copy link

No Relevant Question Asked here as I saw.

I Tried to give shape to the parent view to EXO Player view Video was playing before But After only Audio is I have left with. Controller show and work well.

Its Not Bug Or maybe it is but I haven't seen anything Relevant in Logs.

I am Using Shape Of View Lib From Github

Sample project link to recreate Issue
https://drive.google.com/file/d/1DpZFHCd8N68UvqFOSqQ_zjaTESlopkcV/view?usp=sharing

Please have a look it's Urgent for me

@Mr-Ramzan
Copy link
Author

@ojw28 Please Guide

@andrewlewis
Copy link
Collaborator

Have you tried using TextureView? See also #5714 and https://exoplayer.dev/ui-components.html#choosing-a-surface-type.

@andrewlewis andrewlewis self-assigned this Aug 17, 2020
@Mr-Ramzan
Copy link
Author

Mr-Ramzan commented Aug 17, 2020

@andrewlewis Thanks For Quick Response Yes I have tried all three types by default are provided in Exoplayer

I have also given a link to sample project in which you can see preview is not visible

@andrewlewis
Copy link
Collaborator

I think this might be a limitation of the way the 'shape of view' library works. I had a quick look at its code and I'd guess the way it forces using a software layer may be problematic. I suggest asking for help at florent37/ShapeOfView#73.

@andrewlewis
Copy link
Collaborator

Closing as this doesn't appear to be a problem with the way ExoPlayer works.

@Mr-Ramzan
Copy link
Author

@andrewlewis Thanks for pointing right direction I have resolved the issue

@google google locked and limited conversation to collaborators Oct 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants