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
TypeError: Cannot read property 'data-src' of undefined at react-awesome-slider/dist/index.js:1:20395 My code:
const [projects, setProjects] = React.useState([]); React.useEffect(() => { fetch("p.json") .then((data) => data.json()) .then((data) => setProjects(data)) .catch((err) => console.error(err)); }, []); ... <AwesomeSlider className="slider"> {projects.map((v, i) => { <Project data={v} key={i} />; })} <div> <Tiles /> </div> </AwesomeSlider>
The text was updated successfully, but these errors were encountered:
Make sure that you are binding each of your project video src to video src tag inside your Project component using props or however you prefer e.g.
export default function Project() { return ( <div> <video style={{...}} controls src= --> pathToVideo <-- /> </div> ); }
Sorry, something went wrong.
No branches or pull requests
TypeError: Cannot read property 'data-src' of undefined
at react-awesome-slider/dist/index.js:1:20395
My code:
The text was updated successfully, but these errors were encountered: