Updated version of media plugin.