Query the video position (player status) via frequent polling (I'm thinking at least 4 times a second, if requestAnimationFrame would be too network-intensive for the remote-machine case).
UI:
Initial submission form would be a URL entry defaulted to "http://localhost:8080" (maybe including a link to the docs for setting up the Web interface).
Playback UI would just be play/pause and maybe a trackbar, collapsible (for the side-by-side window use case).
Polling must continue while video is paused since play could be resumed outside of the web UI.
Reasons to do this:
Documentation:
Implementation:
Query the video position (player status) via frequent polling (I'm thinking at least 4 times a second, if requestAnimationFrame would be too network-intensive for the remote-machine case).
UI:
Initial submission form would be a URL entry defaulted to "http://localhost:8080" (maybe including a link to the docs for setting up the Web interface).
Playback UI would just be play/pause and maybe a trackbar, collapsible (for the side-by-side window use case).
Polling must continue while video is paused since play could be resumed outside of the web UI.