knotteye
aa111acdfb
Add viewer count to web UI
2021-01-15 23:14:57 -06:00
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
2021-01-15 09:43:16 -06:00
knotteye
a1a101c0f1
Check if the video object still exists before restarting the timeout
2021-01-08 17:25:44 -06:00
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.
2021-01-08 16:14:19 -06:00
knotteye
f703d5af7f
Stop accidentally capturing static file links
2021-01-08 15:39:03 -06:00
knotteye
2a5e8d6ec2
Add play button functionality for web player
2020-10-25 10:17:45 -05:00
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
2020-10-18 09:23:28 -05:00
knotteye
90cce68581
Fix bug
2020-10-17 22:40:30 -05:00
knotteye
30a62e6378
Handle back button when the user navigates to one of our own history events
2020-10-17 16:02:50 -05:00
knotteye
cc3876ff4a
Update URL when navigating to new pages and push state to history in client-side SPA
2020-10-17 15:39:19 -05:00
knotteye
56c4b94a80
Fix the start video function to avoid redudant calls
2020-10-17 05:26:31 -05:00
knotteye
58e8be123c
Intercept internal links and render the page without reloading
2020-10-17 00:11:24 -05:00
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
2020-10-14 07:44:19 -05:00