Media is not defined in cordova-plugin-media

hi . I m a new in ionic.i have problem in play music with cordova-plugin-media.my error shows at picture.i did everything has said in this site but i couldn’t get true answer.please help me

With my test, the media plugin does not work in serve mode in the browser, but it works with “cordova run browser”.

FYI.