function defaultImageLoadFunction(image, src) {
  /** @type {HTMLImageElement|HTMLVideoElement} */ (image.getImage()).src = src;
}
Default image load function for image sources that use import("../Image.js").Image image
instances.
@param {import("../Image.js").default} image Image.
@param {string} src Source.