diff --git a/app/src/fdroid/java/app/fedilab/android/activities/BasePeertubeActivity.java b/app/src/fdroid/java/app/fedilab/android/activities/BasePeertubeActivity.java index 58d82d4b..cbaac34a 100644 --- a/app/src/fdroid/java/app/fedilab/android/activities/BasePeertubeActivity.java +++ b/app/src/fdroid/java/app/fedilab/android/activities/BasePeertubeActivity.java @@ -63,6 +63,8 @@ public class BasePeertubeActivity extends BaseBarActivity { binding = ActivityPeertubeBinding.inflate(getLayoutInflater()); View view = binding.getRoot(); setContentView(view); + + binding.minController.castPlay.setOnClickListener(v -> { binding.minController.castLoader.setVisibility(View.VISIBLE); if (PeertubeBaseMainActivity.chromeCast != null) { diff --git a/app/src/main/res/layouts/peertube/layout/activity_peertube.xml b/app/src/main/res/layouts/peertube/layout/activity_peertube.xml index 6fe38735..eaaa551f 100644 --- a/app/src/main/res/layouts/peertube/layout/activity_peertube.xml +++ b/app/src/main/res/layouts/peertube/layout/activity_peertube.xml @@ -56,6 +56,7 @@ android:layout_height="match_parent" android:animateLayoutChanges="true" app:dtpv_controller="@+id/media_video" + app:controller_layout_id="@layout/peertube_exo_player_control_view" app:use_controller="true" />