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

ASF GitHub Bot commented on CB-9605:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/64

    CB-9605 Fixes issue with playback resume after pause on WP8

    This fixes [CB-9605](https://issues.apache.org/jira/browse/CB-9605)
    
    In case of playing remote file, specified by URL (instead of local path) 
`player.Source.AbsolutePath` is a last part of original URL and thus 
`AbsolutePath.LastIndexOf(filePath)` always -1:
    
        AbsoluteUri = "http://cordova.apache.org/downloads/BlueZedEx.mp3";
        AbsolutePath = "/downloads/BlueZedEx.mp3"
    
    So, using an `AbsoluteUri` looks more reasonable and works for both local 
files and remote URLs.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-media CB-9605

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/64.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #64
    
----
commit 71af3b1c302d4adfffb2616a60e95c4ca94d3046
Author: Vladimir Kotikov <[email protected]>
Date:   2015-09-03T08:07:17Z

    CB-9605 Fixes issue with playback resume after pause on WP8

----


> Windows Phone 8 Media Plugin Playback Cannot Resume
> ---------------------------------------------------
>
>                 Key: CB-9605
>                 URL: https://issues.apache.org/jira/browse/CB-9605
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>
> Attempting to pause and resume results in the clip being restarted.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to