Play video in APP

23 次查看(过去 30 天)
keming cao
keming cao 2022-4-20
编辑: Simar 2023-10-5
How can I play video with sound in APP Designer? Like mp4 or other type
I tried to put video in HTML but it couldn't play

回答(1 个)

Simar
Simar 2023-10-5
编辑:Simar 2023-10-5
Hi Keming,
I understand that you want to play video with sound in App Designer.
To play video files within MATLAB, follow the steps :
  • Use MATLAB's multimedia function VideoReader” which is designed to work with MATLAB's graphical and data processing capabilities.
  • Provide a callback to this function while playing in App Designer.
Please refer to the following MATLAB answers and documentation to learn more about the VideoReader function and how to use it with the app designer :
Hope it helps!
Best Regards,
Simar

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by