You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have deployed and setup the website starter on Vercel using Neon and Vercel Blob storage.
Media Images work Media video files do not.
Media Images display fine but Media Videos fail to show, I've noticed that images show up on the front end with a path like this: website.com/api/media/file/imagemedia.jpg but videos are using website.com/media/videomedia.mp4 and do not display.
The admin area shows the correct path to the video media: website.com/api/media/file/videomedia.mp4
But on the front end the code is trying to find the video source using the path: website.com/media/videomedia.mp4
Editing the source path on developer tools finds the video and it plays on the page:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have deployed and setup the website starter on Vercel using Neon and Vercel Blob storage.
Media Images work Media video files do not.
Media Images display fine but Media Videos fail to show, I've noticed that images show up on the front end with a path like this: website.com/api/media/file/imagemedia.jpg but videos are using website.com/media/videomedia.mp4 and do not display.
The admin area shows the correct path to the video media: website.com/api/media/file/videomedia.mp4
But on the front end the code is trying to find the video source using the path: website.com/media/videomedia.mp4
Editing the source path on developer tools finds the video and it plays on the page:
Can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions