Replies: 1 comment
-
i reaally need this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Tauri to build a cross-platform desktop application. Most parts of my application are written in React and are working happily with Tauri. However, the video player part causes some trouble.
The HTML
video
tag can play only a limited set of video formats and codecs, and I would like to use libVLC to overcome such limit. Furthermore, I would like to render the video only in a subarea of the window.For now I am trying something like:
However, the above code does not work with the log:
The video playing part does work if running directly within
main()
:Besides, I failed to find a way to create a subview within the window. Calling
window.ns_window()
presumably will render the video into the whole window.My code follows this example of video playing in Rust with libVLC.
Therefore, my question is:
mdp.play()
not working within Tauri issue?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions