Cordova media plugin usage

i want to use the latest version of cordova media plugin without updating ionic-native (i can’t update because there are dependecies)
how can i call the media plugin in my conponent?
i tried to create

var media = new Media(src, mediaSuccess, [mediaError], [mediaStatus]);

but VScode doen’t recognize Media
please help me

Look into the code of the Ionic Native Media plugin you have installed - the documentation on how to use it should be right in the code itself.