tweaks to abstract html5 media