cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7531) Media play() fails to play sound immediately after release() call on windows
Date Fri, 12 Sep 2014 11:08:33 GMT
Vladimir Kotikov created CB-7531:
------------------------------------

             Summary: Media play() fails to play sound immediately after release() call on
windows
                 Key: CB-7531
                 URL: https://issues.apache.org/jira/browse/CB-7531
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Media
            Reporter: Vladimir Kotikov


In mobilespec, following recommended test procedure after pushing 'release' button and then
immediately 'play' button i'm getting a foolowing error:
{noformat}
Exception calling native with command :: Media :: startPlayingAudio ::exception=TypeError:
Unable to get property 'play' of undefined or null reference
Error getting pos=TypeError: Unable to get property 'currentTime' of undefined or null reference
Exception was thrown at line 67, column 10 in ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.media/src/windows8/MediaProxy.js
0x800a138f - JavaScript runtime error: Unable to get property 'play' of undefined or null
reference
Exception was thrown at line 111, column 13 in ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.media/src/windows8/MediaProxy.js
0x800a138f - JavaScript runtime error: Unable to get property 'currentTime' of undefined or
null reference
{noformat}

It seems that problem in {{startPlayingAudio()}} method in MediaProxy.js, that doesn't ensures
that {{node}} property of current Audio object is exists .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message