video:Failed to load because no supported source was found

Failed to load because no supported source was found  

    没有找到支持的源文件而无法加载
    文件路径找不到,加载不出来。也有一中可能是一个空的视频,0字节。

解决办法:

    判断视频的networkState,如果值等于3,则不播放,跳过,修改正确的文件路径

Media.networkState; //0.此元素未初始化 1.正常但没有使用网络 2.正在下载数据 3.没有找到资源

你可能感兴趣的:(video:Failed to load because no supported source was found)