Play MP4 on Matlab Online

4 views (last 30 days)
Ara Liz
Ara Liz on 11 Jul 2021
Commented: Walter Roberson on 12 Jul 2021
We were told to record audio using Matlab but I'm only using the online version. They said we can still do the activity online, just need to upload MP4 file. I was able to upload it but it doesn't play. :( There's always an error when I try play(). Any solutions for this one?

Answers (1)

Devanshu Shah
Devanshu Shah on 12 Jul 2021
Hi Ara Liz,
To play an mp4 file on MATLAB Online you can use the vision.VideoPlayer module.
The documentation for it can be found here.
  1 Comment
Walter Roberson
Walter Roberson on 12 Jul 2021
In order to play the audio, you must be using Chrome browser. No other browser will work.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!