You forgot to append mediaElement here.