[ 
https://issues.apache.org/jira/browse/CB-4738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4738.
---------------------------
    Resolution: Cannot Reproduce

This was from long ago.This is not longer an issue.

> MediaError.message is not supported?
> ------------------------------------
>
>                 Key: CB-4738
>                 URL: https://issues.apache.org/jira/browse/CB-4738
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>    Affects Versions: 2.9.0
>            Reporter: Shingo Toda
>            Assignee: Michael Brooks
>            Priority: Minor
>
> I just tried to get an error message from MediaError.message but I failed. As 
> I see cordova.js, it seems that this property is not supported.
> {code:title=cordova.js|borderStyle=solid}
>  var _MediaError = window.MediaError;
> if(!_MediaError) {
>     window.MediaError = _MediaError = function(code, msg) {
>         this.code = (typeof code != 'undefined') ? code : null;
>         this.message = msg || ""; // message is NON-standard! do not use!
>     };
> }
> {code}
> This is just my assumption that it look like Cordova try to get browser's 
> MediaError at first. If it fails, Cordova will add original implementation. 
> But as commented, message property is not standard in W3C 
> [http://dev.w3.org/html5/spec-author-view/video.html#mediaerror] 
> If it is really not supported, please remove this property from document.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to