I hate it when websites do that, and I certainly wouldn't want an operating system doing it. At the very least it should require the user to click on something before playing anything.
The answer is yes. In the installer, there is a checkbox that asks if the user wants to install these non-free codecs.