Implemented video player using compose multiplatfo...
# compose-ui-showcase
k
Implemented video player using compose multiplatform for ios, android, and desktop. code can be found here :https://github.com/Kashif-E/Compose-Multiplatform-Video-Player
👍🏻 1
🦜 1
👍 10
n
compose.version=1.3.0? Why?
k
@Nikita Lipsky not using that, using the version in version cataloga
n
Ah! Ok
t
I just looked in your desktop implementation. And i also did some experiments with the vlcj lib. Disadvantage was that it is not possible to position Composeables on top of the video. I solved it in a prototype implementation by copying the video images data into the jvm and than into an skia image:
k
theres an implementation in official samples of jetbrains you can check that its really good with this
h
hey @Kashismails i was using your code as a starting point for a video player in my app, but were you ever able to make it work with medialistplayer? i found that changing the component to the listplayer would make it not embedded anymore. i made this post with more details https://stackoverflow.com/questions/77513550/how-to-use-vlcj-embedded-media-list-player-properly
k
Hey @Hamba, it was bare minimum experiment. However, you can check this by jetbrains its experimental but a better example ad for the not being embeded anymore is an issue with compose itself. https://github.com/JetBrains/compose-multiplatform/tree/master/experimental/components/VideoPlayer
930 Views