You should have to install each codec only once.
The Firefox Web browser in Ubuntu 7.10 includes a new feature that can automatically find the appropriate plug-ins for new content types it encounters, including Java applets and Adobe Flash.