Cordova Media Plugin not working
<p>I can't get the cordova media plugin to work, I get error code 1 which signals that the file is not getting loaded. I've tried a number of variations, but can't figure out which path is correct.</p>

<p>Currently my code looks like this:</p>

<pre><code>function onDeviceMediaReady () {
var path = window.cordova.file.applicationDirectory + 'why.mp3';
    console.log(path);
    narrative = new Media(path, // success callback
        function() {
            console.log("playAudio():Audio Success");
        },

        // error callback
        function(err) {
            console.log("playAudio():Audio Error: "+ err.code);
        });
}
</code></pre>

<p>this gives me a path that's <code>file://var/cotainers/Bundle/Application/[GUID]/Cordova400.app/why.mp3</code></p>

<p>I don't get why I can't find it. the file is in the telerik appbuilder root directory.</p>