JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.95k stars 1.16k forks source link

Create simple example for video component #711

Open DusanLesan opened 3 years ago

DusanLesan commented 3 years ago

I am considering learning kotlin in order to use compose. My biggest requirement is to have a video player that is capable to play videos from online sources. I was trying to use the video component but had no idea how to set it up. Please create the example/tutorial for the simplest possible video player to be used in desktop app.

akurasov commented 3 years ago

@DusanLesan Please see https://github.com/JetBrains/compose-jb/blob/master/components/VideoPlayer/demo/src/jvmMain/kotlin/org/jetbrains/compose/videoplayer/demo/Main.kt

okushnikov commented 2 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.