报错:The media could not be loaded, either because the server or network failed or ...

Problem: All plug-ins related to video are introduced to play the video, and the video shows
The media could not be loaded, either because the server or network failed or because the format is not supported

solve:

Method 1: At present, many plug-ins do not support some relatively uncommon video formats such as .avi, and then introduce them for playback after video transcoding.

Method 2: If the format support is confirmed, check whether the path is written wrong. Pay
special attention to !!! When importing local video resources, you need to import!!!
That is to say, you cannot directly write '.. /../*** path', you need to write src:require('') ​​to import.

Guess you like

Origin blog.csdn.net/weixin_45898996/article/details/128233182