pub fn use_video(init: impl FnOnce() -> VideoSource + 'static) -> VideoPlayerExpand description
Create a VideoPlayer and start playing init().
pub fn use_video(init: impl FnOnce() -> VideoSource + 'static) -> VideoPlayerCreate a VideoPlayer and start playing init().