videoplayer: some rework and documentation