add chat basics
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package ru.shadowsparky.videoplayer
|
||||
|
||||
import org.koin.core.annotation.Factory
|
||||
|
||||
@Factory
|
||||
class DesktopExternalPlayer : ExternalPlayer {
|
||||
override fun play(url: String) {
|
||||
throw NotImplementedError()
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package ru.shadowsparky.videoplayer.ui
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import ru.shadowsparky.videoplayer.CanvasEvent
|
||||
import ru.shadowsparky.videoplayer.PlayerController
|
||||
import ru.shadowsparky.videoplayer.VideoScaleType
|
||||
|
||||
@Composable
|
||||
actual fun VideoCanvas(
|
||||
controller: PlayerController,
|
||||
modifier: Modifier,
|
||||
scaleType: VideoScaleType,
|
||||
onCanvasEvent: (CanvasEvent) -> Unit
|
||||
) {
|
||||
throw NotImplementedError()
|
||||
}
|
||||
Reference in New Issue
Block a user