added `videoElement` attribute