cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From filmaj <>
Subject [GitHub] cordova-plugin-media issue #134: CB-12542: (ios) Fix wav file recording, add...
Date Wed, 26 Apr 2017 16:25:02 GMT
Github user filmaj commented on the issue:
    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)
            document.getElementById('record_stop').addEventListener('touchstart', function(evt)
            document.getElementById('play').addEventListener('touchstart', function(evt) {
            document.getElementById('stop').addEventListener('touchstart', function(evt) {
        // deviceready Event Handler
        // Bind any cordova events here. Common events are:
        // 'pause', 'resume', etc.
        onDeviceReady: function() {
            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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message