GithubHelp home page GithubHelp logo

eliomessaim / lan-web-video-player Goto Github PK

View Code? Open in Web Editor NEW

This project forked from areslight/lan-web-video-player

0.0 0.0 0.0 4.83 MB

python3 flask+dplayer

JavaScript 50.12% Python 5.87% CSS 22.35% HTML 21.66%

lan-web-video-player's Introduction

LAN-web-video-player(局域网视频网站部署方案)

install python3 and flask module

Flask as the server, run the .py file and then you can watch the video online inside you LAN.
change directory to current directory and run the following command on one of your LAN computer:
python server.py
and then put your video in directory /static/videos
finish this, enjoy your LAN cinema.
if your port 8888 is busy, change it in the last row of the server.py

在局域网中的一台主机上运行 python server.py (需要将目录切换到文件路径)
将视频文件放到/static/videos 目录下,然后在浏览器打开IP:8888即可
如果端口占用,在server.py 文件中最后一行修改port= 你空闲的端口

本项目使用了开源的播放器Dplayer, 在此对Dplayer的开发人员表示感谢

image

image

lan-web-video-player's People

Contributors

areslight 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.