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

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

Commit ec9dc331cbde9ec835ae476e756dc2f208ee204a in branch refs/heads/dev from 
[~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=ec9dc33 ]

Merge branch 'CB-4928' of https://github.com/csantanapr/cordova-plugin-media 
into dev

                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to