Github user filmaj commented on the issue: https://github.com/apache/cordova-plugin-media/pull/134 Here are the relevant bits of test code I am working with: ``` initialize: function() { document.addEventListener('deviceready', this.onDeviceReady.bind(this), false); document.getElementById('record_start').addEventListener('touchstart', function(evt) { myMedia.startRecord(); }); document.getElementById('record_stop').addEventListener('touchstart', function(evt) { myMedia.stopRecord(); }); document.getElementById('play').addEventListener('touchstart', function(evt) { myMedia.play(); }); document.getElementById('stop').addEventListener('touchstart', function(evt) { myMedia.stop(); }); }, // deviceready Event Handler // // Bind any cordova events here. Common events are: // 'pause', 'resume', etc. onDeviceReady: function() { this.receivedEvent('deviceready'); status = document.getElementById('status'); myMedia = new Media("documents://beer.m4a", function(evt) { }, function(err) { }); }, ``` Confirmed that without the last commit, the above, for both .wav and .m4a files, works. So, I am happy to pull in the first two commits in this PR, but I would like more clarification from @leopatras on the last commit and the new undocumented command it adds to iOS.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org