C
C#5mo ago
Alma j

How do i send zipefile html with video and image

So I'm doing a project at school and I am using Visual studio code.. I've usually don't code so i do not have a clue but I was going to save a coding excersise we did that was a template where you inserted images and a video on the template to make a website that had both video and pictures. When I saved it, there was no problem, I could also make a zipe file and open it again. But when I send it to a friend they can only open the website with the text. What has I been doing wrong?
3 Replies
Denis
Denis5mo ago
From what I've some what gathered you have some website which is displaying media content - images and videos To get the specific media content, the website needs file paths You can have absolute or relative file paths I'd assume that you are using absolute patha that include your C drive, username and whatever Which will not exist on a different pc Or simply won't work even if you move the project elsewhere Using a relative path would solve that
SwaggerLife
SwaggerLife5mo ago
The problem is most likely from paths. You can maybe upload it to github.
Anchy
Anchy5mo ago
Using github here would be great because you can utilize github pages to also view your website template (which I'm assuming is just a static website)
Want results from more Discord servers?
Add your server
More Posts