video中src设置本地视频相对路径无法进行播放?
萌新求指教:
video组件:
本人遇到问题如标题所述,src属性设置本地路径视频无法播放,视频格式为MP4(后两个案例可以正常播放)。控制台出现错误Cannot read property “ele” of undefined,这是为什么?
<video src="/video/567.mp4" controls></video>
<video id="myVideo" src="http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400" controls></video>
<video src="https://www.w3school.com.cn/i/movie.ogg"></video>