cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-4928) plugin-media doesn't load on windows8 change AudioHandler. to media.
Date Thu, 17 Oct 2013 19:20:42 GMT

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

Carlos Santana resolved CB-4928.
--------------------------------

    Resolution: Fixed

Resolved in version "org.apache.cordova.media@0.2.4" of the plugin 

> 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
>             Fix For: 3.1.0
>
>
> 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