You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shingo Toda (JIRA)" <ji...@apache.org> on 2013/08/26 03:40:51 UTC

[jira] [Created] (CB-4666) "duration" and "position" properties in a Media object cannot be read

Shingo Toda created CB-4666:
-------------------------------

             Summary: "duration" and "position" properties in a Media object cannot be read
                 Key: CB-4666
                 URL: https://issues.apache.org/jira/browse/CB-4666
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin Media
    Affects Versions: 2.9.0
         Environment: Android 4.0.4 on physical device.
            Reporter: Shingo Toda
            Assignee: Joe Bowser
            Priority: Minor


position and duration properties in Media objects are undefined then cannot be read.

{code}
        var media = new Media(src);
        expect(media.duration).toBeDefined();  // undefined
        expect(media.position).toBeDefined();  // undefined
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira