mirror of
https://codeberg.org/tom79/Fedilab
synced 2024-12-12 03:16:36 +01:00
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());
|
binding = ActivityPeertubeBinding.inflate(getLayoutInflater());
|
||||||
View view = binding.getRoot();
|
View view = binding.getRoot();
|
||||||
setContentView(view);
|
setContentView(view);
|
||||||
|
|
||||||
|
|
||||||
binding.minController.castPlay.setOnClickListener(v -> {
|
binding.minController.castPlay.setOnClickListener(v -> {
|
||||||
binding.minController.castLoader.setVisibility(View.VISIBLE);
|
binding.minController.castLoader.setVisibility(View.VISIBLE);
|
||||||
if (PeertubeBaseMainActivity.chromeCast != null) {
|
if (PeertubeBaseMainActivity.chromeCast != null) {
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:animateLayoutChanges="true"
|
android:animateLayoutChanges="true"
|
||||||
app:dtpv_controller="@+id/media_video"
|
app:dtpv_controller="@+id/media_video"
|
||||||
|
app:controller_layout_id="@layout/peertube_exo_player_control_view"
|
||||||
app:use_controller="true" />
|
app:use_controller="true" />
|
||||||
|
|
||||||
<com.github.vkay94.dtpv.youtube.YouTubeOverlay
|
<com.github.vkay94.dtpv.youtube.YouTubeOverlay
|
||||||
|
Loading…
Reference in New Issue
Block a user