I am using below way to integrate mini_controller in my chromecast app. However, I always seeing progressbar instead of pause/play button in mini controller.
<fragment
android:id="@+id/cast_mini_controller"
class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:castControlButtons="@array/cast_mini_controller_control_buttons"
app:castProgressBarColor="@color/colorPrimary"
app:castShowImageThumbnail="true" />
Can anybody please suggest what can be the issue it might be?
I tried various articles and none of them able to resolve this issue. All is working fine except the fact that I can not pause the chromecast video through mini controller inside my app as its showing progressbar always.
Note: My application is using queuing mechanism in order to load the chunk of videos at once.