site: https://stately-sundae-1f7c4f.netlify.app/
I am getting 404 error messages from my mp4’s and fonts. I am able to use these videos and fonts in my local sever but once deployed to netlify they are throwing an error. I have used these exact videos with the exact syntax and exact path, and deployed to netlify before on a different site and they’ve worked just fine, but for some reason on this site they arent working.
/src/components/images/projects/portfolio-v2-vid.mp4:1 Failed to load resource: the server responded with a status of 404 ()
/src/components/images/projects/travel-journal-vid.mp4:1 Failed to load resource: the server responded with a status of 404 ()
/src/components/images/projects/password-generator-vid.mp4:1 Failed to load resource: the server responded with a status of 404 ()
/src/components/images/projects/meme-generator-vid.mp4:1 Failed to load resource: the server responded with a status of 404 ()
/src/components/images/projects/restaurant-vid.mp4:1 Failed to load resource: the server responded with a status of 404 ()
/src/components/images/projects/unit-converter-vid.mp4:1 Failed to load resource: the server responded with a status of 404 ()
/src/components/images/projects/le-wagon-demo-day.mp4:1 Failed to load resource: the server responded with a status of 404 ()
Gerstner-Programm-Regular.woff:1 Failed to load resource: the server responded with a status of 404 ()
Gerstner-Programm-Light.woff:1
this is in my index.css
@font-face {
font-family: ‘Gerstner-Regular’;
src: url(“./src/assets/fonts/Gerstner-font/Gerstner-Programm-Regular.woff”) format(‘woff’);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: ‘Gerstner-Light’;
src: url(“./src/assets/fonts/Gerstner-font/Gerstner-Programm-Light.woff”) format(‘woff’);
font-weight: light;
font-style: normal;
}
html {
font-family: ‘Gerstner-Regular’, ‘PT Sans’;
margin: 0;
padding: 0;
overflow-x: hidden;
}
this is the route to me mp4:
videoSrc:‘./src/components/images/projects/portfolio-v2-vid.mp4’