Update templates to use "media" parameter.
Update templates to use "media" parameter.

PiperOrigin-RevId: 340960154

material-components/material-components-web,material-components/material-components-web,material-components/material-components-web