[
https://issues.apache.org/jira/browse/CB-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138049#comment-14138049
]
ASF subversion and git services commented on CB-7531:
-----------------------------------------------------
Commit 4ba6b139eb846b91ebd022409cc6b87acb913463 in cordova-plugin-media's
branch refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=4ba6b13 ]
CB-7531 Fixes play() failure after release() call
> 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
> Labels: media, windows
>
> 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)