Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

javascript - Uncaught (in promise) DOMException: The element has no supported sources. in Vue

The video I am trying to load is at '@/assets/bg1.mp4'.
I reference it with

data-videomp4="@/assets/bg1.mp4"

and grabbing that from the revslider.js file
I get this error when using the component in Vue.
If I copy paste the same code (with the path adjusted) to a simple HTML file it works fine and the file loads.
Any ideas what could cause the problem?

question from:https://stackoverflow.com/questions/66061608/uncaught-in-promise-domexception-the-element-has-no-supported-sources-in-vue

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...