exoplayer: button fixes
parent
15784416eb
commit
3fb17c0450
|
@ -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")) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue