exoplayer: button fixes

pull/653/merge
Varun Patil 2023-05-14 19:58:45 -07:00
parent 15784416eb
commit 3fb17c0450
2 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,8 @@ import gallery.memories.databinding.ActivityMainBinding
// Bind to player view // Bind to player view
binding.videoView.player = exoPlayer binding.videoView.player = exoPlayer
binding.videoView.visibility = View.VISIBLE binding.videoView.visibility = View.VISIBLE
binding.videoView.setShowNextButton(false)
binding.videoView.setShowPreviousButton(false)
// Check if HLS source from URI (contains .m3u8 anywhere) // Check if HLS source from URI (contains .m3u8 anywhere)
if (uri.toString().contains(".m3u8")) { if (uri.toString().contains(".m3u8")) {

View File

@ -11,6 +11,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@android:color/black" android:background="@android:color/black"
app:show_buffering="always"
/> />
<WebView <WebView