Added media constants provided by @ophian.