使用video.js檔案報錯:Failed to load resource: net::ERR_FILE_NOT_FOUND的解決辦法
使用video.js檔案報錯:
file://www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=UA-16505296-2&u…Fexample.html&utmcc=__utma%3D1.5782357959.1.1.1.1%3B&utme=8(vjsv)9(v4.3.0)Failed to load resource: net::ERR_FILE_NOT_FOUND
video.js:6 'webkitMovementX' is deprecated.Please use 'movementX' instead.
video.js:6 'webkitMovementY' is deprecated.Please use 'movementY' instead.
解決辦法參考這篇文章:http://stackoverflow.com/questions/22671994/jquery-will-not-load-because-it-cant-be-found
分析:出現該問題的原因是因為所用的html是本地的網頁檔案。
這篇文章內容如下:
My html page don't works because my script is not loading. The script I'm using is as follows:
This is the error:
Can you see the problem? I just copied the scripts src from google hosted libraries. |
I think you're testing this using an HTML file on your local file system. |
||||||||
|
Did you find this question interesting? Try our newsletter
Only posting to help anyone else who did what i did. I spent hours trying to figure out why i was getting about a 100 of these errors. I had forgot i was messing around with ngRoute and had placed |