[ https://issues.apache.org/jira/browse/CB-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Kurdyumov resolved CB-4509. ---------------------------------- Resolution: Fixed Already in source code https://github.com/apache/cordova-plugin-media#mediaerror > Consistently show codes with constants > -------------------------------------- > > Key: CB-4509 > URL: https://issues.apache.org/jira/browse/CB-4509 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs > Reporter: Raymond Camden > Assignee: Michael Brooks > Priority: Minor > > If you look at the docs for Media, > http://docs.phonegap.com/en/3.0.0/cordova_media_media.md.html, you will > notice that the first constant documented (mediaStatus) contains the actual > code. Most developers won't ever see the nice constant. All they see is 1, 2, > etc. If you go down the Media doc though you will see that MediaError does > *not* document the same. One more guess that ABORTED, being first, is 0, but > it isn't from what I can see in the source code. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org