Player layout only for peertube
This commit is contained in:
parent
9a38da9475
commit
926caf2f3f
|
@ -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) {
|
||||
|
|
|
@ -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" />
|
||||
|
||||
<com.github.vkay94.dtpv.youtube.YouTubeOverlay
|
||||
|
|
Loading…
Reference in New Issue