Made the audio and video directives work in IE8

Will need to revisit to make this work better in IE9