We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'https://www.youtube.com/embed/X-fwtmxrlt0'
getting this error when I try to use a youtube video
I npm installed the library added this next.config.js
const withVideos = require('next-videos') module.exports = withVideos({ assetPrefix: 'https://www.youtube.com', webpack(config, options) { return config } })
and using this code where the image is the path of the youtube url embed link
<video src={require(image)} />
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error: Cannot find module 'https://www.youtube.com/embed/X-fwtmxrlt0'
getting this error when I try to use a youtube video
I npm installed the library
added this next.config.js
and using this code where the image is the path of the youtube url embed link
The text was updated successfully, but these errors were encountered: