More media fixes for firefox