cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4928) plugin-media doesn't load on windows8 change AudioHandler. to media.
Date Thu, 10 Oct 2013 17:57:53 GMT

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

ASF subversion and git services commented on CB-4928:
-----------------------------------------------------

Commit e5f0bb0ac5ed716fd0b1c0eeb6feea8e7018a564 in branch refs/heads/master from [~csantana]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=e5f0bb0 ]

[CB-4928] plugin-media doesn't load on windows8


> plugin-media doesn't load on windows8 change AudioHandler. to media.
> --------------------------------------------------------------------
>
>                 Key: CB-4928
>                 URL: https://issues.apache.org/jira/browse/CB-4928
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>    Affects Versions: Master
>         Environment: Windows8
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
>
> MediaProxy tries to require modules that don't exist
>         SCRIPT5022: Unhandled exception at line 56, column 13 in ms-appx://a535d4bc-7a2d-44d4-bd40-786f4286f06a/www/cordova.js
> 0x800a139e - JavaScript runtime error: module org.apache.cordova.AudioHandler.Media not
found
> File: cordova.js, Line: 56, Column: 13
> The fix is to change the references in src/windows8/MediaProxy.js
> From:    
> Media = require('org.apache.cordova.AudioHandler.Media');
> MediaError = require('org.apache.cordova.AudioHandler.MediaError');
> To:
> Media = require('org.apache.cordova.media.Media');
> MediaError = require('org.apache.cordova.media.MediaError');



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message