update to media module and adding mediaelement support