You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Martin Schaaf (JIRA)" <ji...@apache.org> on 2014/06/22 14:16:25 UTC

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

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

Martin Schaaf commented on CB-4666:
-----------------------------------

It seems that these properties are reachable by media._duration and media._position.

> "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 was sent by Atlassian JIRA
(v6.2#6252)