knotteye
cc2fb358c9
Make user profile page a little more responsive
3 years ago
knotteye
aa111acdfb
Add viewer count to web UI
3 years ago
knotteye
d79eac6b57
Change modifyLinks regex to match all valid URL characters, followed by a period, followed by a-zA-Z0-9
...
This should catch any legal URL with a file extension on the end
3 years ago
knotteye
a1a101c0f1
Check if the video object still exists before restarting the timeout
3 years ago
knotteye
8cb78a7dd6
Add code for re-checking if a user has gone live since loading the page
...
Also exempt static files from link rewriting in the SPA
There may be more in here.. It's been a long break halfway through this commit.
3 years ago
knotteye
f703d5af7f
Stop accidentally capturing static file links
3 years ago
knotteye
2a5e8d6ec2
Add play button functionality for web player
4 years ago
knotteye
12e868456a
Add play button for shaka player. Needs functionality.
4 years ago
knotteye
2de486da46
Switch to shaka-player and initialize it on pageload.
...
Maybe todo: more testing and re-check if the stream has started after the page has already loaded
4 years ago
knotteye
90cce68581
Fix bug
4 years ago
knotteye
dfd0bc4881
Commit a local.css file to get rid of some error messages
4 years ago
knotteye
30a62e6378
Handle back button when the user navigates to one of our own history events
4 years ago
knotteye
cc3876ff4a
Update URL when navigating to new pages and push state to history in client-side SPA
4 years ago
knotteye
56c4b94a80
Fix the start video function to avoid redudant calls
4 years ago
knotteye
58e8be123c
Intercept internal links and render the page without reloading
4 years ago
knotteye
988e3473a7
Big commit. Implement handlers for everything that's currently rendered server side in the client-side frontend.
...
Add compiled templates file to .gitignore, will work out a system for making sure templates are compiled later.
Fix a couple bugs in the API and templates.
TODO for client-side rendering:
Make sure templates get compiled before running the server.
Add a config option to switch between server-side and client-side rendering
Fancy SPA stuff like intercepting links to render changes without a page-reload
4 years ago
knotteye
57d0b0f856
initial work on client-side templating
4 years ago
knotteye
4bd10151f8
Switch from video.js to dash.js, it seems to be more consistent and hiccup less during streams.
...
This means transcoding to HLS is no longer an option.
Also add a bit of JS to reload the stream periodically if it hadn't started when the page was loaded.
That thing spits out errors fucking constantly, so hopefully it won't cause any problems.
4 years ago
knotteye
5a52308503
Stop using dash.js, videojs supports it natively.
...
Modal messages also work again
Turn off watch in nunjucks config (oops)
Change some redirects based on logged in status.
4 years ago
knotteye
f5f9d1f8e6
Play MPEG-DASH by default.
...
Add dash.js and videojs-dash files
5 years ago
knotteye
eba441b624
Add working Socket.IO based chat
...
Bump version I guess.
5 years ago
knotteye
fad832fe38
Remove long winded installation guide
...
Add config guide
Minor changes to default config
5 years ago
knotteye
f9e4a7a5c6
I don't even know.
...
Filled out API for user management
Proper escaping of user input for SQL queries (stream keys aren't user input)
Filled out frontend with profile management, vods, etc.
I don't remember there's probably more, fuck.
5 years ago
knotteye
eefa7c8dc7
Added videojs files and CSS.
5 years ago