fix player for android tv
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ private val controller = koin.get<PlayerController>()
|
||||
fun TestPlayer() {
|
||||
VideoPlayer(controller, modifier = Modifier.fillMaxSize())
|
||||
LaunchedEffect(controller) {
|
||||
controller.load("https://samplelib.com/mp4/sample-5s.mp4")
|
||||
controller.load("https://samplelib.com/mp4/sample-30s-720p.mp4")
|
||||
controller.play()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user