Media APIs for the multi-platform Web