The video playback app was on Android devices, so it used the regular Android Java APIs. Still, the chatroom approach that gkoberger describes would work for any platform, as long as each player can play, pause, and seek, and have a separate thread that emits and receives events in the chatroom.
http://popcornjs.org/ appears to be a library for controlling HTML5 video, if that might work for you.