Play video in APP

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

Answers (1)

Simar
Simar on 5 Oct 2023
Edited: Simar on 5 Oct 2023

0 votes

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

Asked:

on 20 Apr 2022

Edited:

on 5 Oct 2023

Community Treasure Hunt

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

Start Hunting!