Added a better way to get the kaltura media params.