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