How to play Play mp3 with Ionic Media Plugin

Hello all, Can anyone show how to play remote mp3 file with ionic media plugin.Here is my sample code
`audio() {

const onStatusUpdate = (status) => console.log(status);
const onSuccess = () => console.log(‘Action is successful.’);
const onError = (error) => console.error(error.message);

const file: MediaObject =‘’, onStatusUpdate, onSuccess, onError);

// play the file;

// pause the file
but i keep getting is not a function

Thanks in advance