Towards a theory of digital media