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