Coder Social home page Coder Social logo

antonyforte / video-web-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

A Web Server created for the Computer Network Class. has some pages. The main page can store videos, so the clients can download or watch those videos

HTML 63.64% Rust 36.36%

video-web-server's Introduction

Before testing the server first:

1 - Create a directory named static inside servidorpag/. and add videos to this directory
2 - In html/Files.html behind line 164(div class="return") modify the link and add your video links. example:

in the code is:
<div class="video-card">
  <div class="video-title">SummerTime Render EPS 2</div>
  <button onclick="openVideoPlayer('/static/summertime-render-episode-2-sub.mp4', 'SummerTime Render EPS 2')">Assistir</button>
  <button><a href="static/summertime-render-episode-2-sub.mp4" download>Baixar</a></button>
</div>

change it to:
<div class="video-card">
  <div class="video-title">MEU VIDEO</div>
  <button onclick="openVideoPlayer('/static/meuvídeo.mp4', 'meu vídeo')">Assistir</button>
  <button><a href="static/meuvídeo.mp4" download>Baixar</a></button>
</div>

Doing this i think you will not have any problems with the server :D

video-web-server's People

Contributors

antonyforte avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.