33 Commits

Author SHA1 Message Date
5ec708fb5b
styling: max-height for video player 2025-06-20 15:05:12 -07:00
06d5336d4b
graceful handling of disconnects and page reloads 2025-06-19 00:52:56 -07:00
302113baee
move cache control to be the first middleware 2025-06-17 00:22:39 -07:00
b48245e870
more styling: add meta info 2025-06-17 00:12:52 -07:00
ea3a68ff4c
mute video player by default to allow autoplay 2025-06-16 23:48:35 -07:00
537c94ea88
improve server restart handling 2025-06-16 23:48:01 -07:00
c9be11d58a
WIP: attempt to fix cache issues 2025-06-16 23:01:52 -07:00
2b7c256f4a
vibe styling pt. 2 2025-06-16 22:51:24 -07:00
175d73f98d
WIP: minor css tweaks 2025-06-16 21:31:12 -07:00
9a09c5c612
vibing part 1 2025-06-16 03:36:32 -07:00
e1cd1cbd08
remove node_modules 2025-06-16 03:10:19 -07:00
ShakedAp
555f5e632d Added comments to src/client.js src/index.js
Added more comments.
Changed '/login' post to check if the data isn't null
2023-06-26 22:49:40 +03:00
ShakedAp
3fd791dce7 Changed spacing in html and JS files.
Changed spacing based to tab based
2023-06-26 20:23:35 +03:00
ShakedAp
8227bb1861 Changed spacing in login.css and main.css 2023-06-26 20:20:18 +03:00
ShakedAp
2bdf8d16b8 Changed spacing in main.html and login.html 2023-06-26 20:17:18 +03:00
ShakedAp
cac086f1dd Resized screenshots/loginpage.png 2023-06-26 20:12:37 +03:00
Shaked
299e3c909e
Update README.md
Changed some mistakes
2023-06-26 20:05:09 +03:00
ShakedAp
3476a555c0 Updated the README.md file and added screenshots
Added screenshots/loginpage.png for the README.md file
Added screenshots/sync2clients.gif for the README.md file
Added screenshots/sync4clients.gif for the README.md file
Modified README.md to contain more info about the project
Changed some settings in settings.json
2023-06-26 19:58:29 +03:00
ShakedAp
5b96d6d8ab Added a sample video and edited .gitignore
Added videos/shrek.mp4
Removed comments and prints in src/index.js
Modified .gitignore
2023-06-26 19:21:18 +03:00
ShakedAp
7d5bac659c Removed comments, spacing and changed password 2023-06-25 13:57:02 +03:00
ShakedAp
e1a1ab706f Added css for the main page, added user panel
Created src/main.css that contains src/main.html css design
Updated login.html for clearer actions
Changed main.html for to a new layout for the css, added watching user panel
2023-06-25 12:06:13 +03:00
ShakedAp
1e6a3f87c2 Added style to login.html, added place for username input
Created src/login.css
Modified src/login.html
Added username input
2023-06-25 11:39:16 +03:00
ShakedAp
5e750aedc9 Changed form submit to redirect and not serve files 2023-06-25 10:32:33 +03:00
ShakedAp
0b7d76333c Added session storage for login, via express-session
Added express-session module
Modified index.js to save the session login
2023-06-25 10:29:54 +03:00
ShakedAp
0b90b3a860 Added login page and login form functionality
Added body-parser node_module
Created login.html
Renamed index.html to main.html
Added simple login functionality in index.js
2023-06-25 10:17:45 +03:00
ShakedAp
395cd7a195 Fixed .gitignore to ignore /videos. Removed them 2023-06-25 09:18:07 +03:00
ShakedAp
11ff6f9547 Moved all source files into /src
Created dir /src, and moved the source files into it. Left package.json, README.md and settings.json out.
Modified package.json to point to the new src dir.
2023-06-25 09:13:57 +03:00
ShakedAp
bfdd897a20 Added settings file and removed videos from repo
Created settings.json that contains the settings
Created .gitignore that ignores the videos folder
Modified index.js to take the settings settings.json
Modified client.js to take the WebSocket settings from the window
2023-06-25 09:07:52 +03:00
ShakedAp
828697aa68 Added video-sync for clients. Tweaked the code.
Moved the script for index.html (the home page) to client.js
Created a new directory for videos: /videos
Added a new video: /videos/Shreksophone_Original.mp4
Moved bigbuck.mp4 to /videos
Added the video-sync clinet code to client.js
Added the video-sync client code to index.js
Updated index.html inner html to work with the vidoe-sync
2023-06-24 21:42:11 +03:00
ShakedAp
d00e6e04ff Added video streaming and sample file
Added bigbuck.mp4, the sample file
Install nodemon module for streaming
Modified  index.html to contain the video, and changed the title
Modified index.js to add /video dir for the video streaming
2023-06-24 14:00:31 +03:00
ShakedAp
cb7fb85842 Added web sockets
Changed index.js to add WebSockets to the server
Changed index.html to add WebSockets to the client
Install ws (web sockets) module
2023-06-24 13:55:54 +03:00
ShakedAp
155968209a Created the simple html app using node.js
Created index.html, the main html page
Created index.js, the html server
Added packages and settings
2023-06-24 13:45:18 +03:00
ShakedAp
fc3820a984 first commit 2023-06-24 13:40:43 +03:00