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

Getting white screen. #5

Open
amit016verma opened this issue Apr 11, 2020 · 4 comments
Open

Getting white screen. #5

amit016verma opened this issue Apr 11, 2020 · 4 comments

Comments

@amit016verma
Copy link

amit016verma commented Apr 11, 2020

I am implemented this solution with recylerview, But my video is playing proper but when the video play I get the white screen , I am not able to see the video which playing. Please help me out from it

<FrameLayout
    android:id="@+id/mediaContainer"
    android:layout_width="match_parent"
    android:layout_height="200dp"
    android:background="@android:color/black"
    android:scaleType="center"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent">

    <ImageView
        android:id="@+id/ivVolumeControl"
        android:layout_width="25dp"
        android:layout_height="25dp"
        android:layout_gravity="end|bottom"
        android:layout_marginEnd="15dp"
        android:layout_marginBottom="15dp"
        android:alpha="0"
        android:animateLayoutChanges="true"
        android:scaleType="centerCrop"
        android:src="@drawable/ic_bolt_small" />


    <ProgressBar
        android:id="@+id/progressBar"
        style="?android:attr/progressBarStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:visibility="gone" />


</FrameLayout>

I am getting this issue because I am using notifyDataSetChanged , thats why I am getting this issue , Please help me in that how can I solve it.

@itsdani121
Copy link

hi amit016verma i am facing same issue still not found any answer can you.? if you do kindly share it to me...

@amit016verma
Copy link
Author

@itsdani121 you can add texture view inside exoplayer it will solve the problem

@itsdani121
Copy link

i added but not get it

@paulocoutinhox
Copy link

I get a black screen, i listen the audio, but the video don't work.

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

3 participants