To use the Media API, import wixMedia from the wix-media-backend module:
wixMedia
wix-media-backend
import wixMedia from "wix-media-backend";