incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Ardelean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-601) The media durations is always -1
Date Sun, 29 Apr 2012 13:19:49 GMT

    [ https://issues.apache.org/jira/browse/CB-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264530#comment-13264530
] 

Dan Ardelean commented on CB-601:
---------------------------------

The problem is here:
module.exports = function(args) {

    console.log("media on status :: " + args);
    var res = JSON.parse(args);
    require("cordova/media").onStatus(res.id, res.msg, res.value);
};
});

onStatus is never clled so the duration is not set
                
> The media durations is always -1
> --------------------------------
>
>                 Key: CB-601
>                 URL: https://issues.apache.org/jira/browse/CB-601
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.7.0
>            Reporter: Dan Ardelean
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> This is not working since 1.6 I think.
> The problem is that the function getDuration is not called anymore from JS
> Media.prototype.getDuration = function() {
>     return this._duration;
> };
> and it is not set correctly 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message