Leia
Leia

Reputation: 357

HTML5 video player gives errror when loading video located inside device using Ionic-v3

I'm developing an app using Ionic. One of the required features is letting the user upload videos to the application and seen them inside the app.

When I try to load the video using a <video> tag I get the following error:

"DEMUXER_ERROR_COULD_NOT_OPEN: FFmpegDemuxer: open context failed"

I already tried loading external videos and they load fine. I also made sure that I could access that location displaying local images without problems.

I'm using:

Upvotes: 2

Views: 3069

Answers (1)

Leia
Leia

Reputation: 357

The problem was with the video I was using. It got corrupted when I tried to convert it to another format.

Upvotes: 4

Related Questions