Github user nbazzeghin commented on the pull request:

    
https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-147221071
  
    @Alkashi Im using this same code on iOS 9 and its working properly. Here is 
a code snippet on what I am doing.
    
    ```javascript
    function onPlayerStatus(status) {
        console.log("onPlayerStatus:" + status);
        if (status == 2) {
            $('#btnPlay').addClass("btn-play-active");
            currentDuration = player.getDuration();
            console.log("CURRENT DURATION: " + currentDuration);
            updateMetas(mediaButton.data('title'),section);
        } else if (status == 4) {
            clearInterval(mediaTimer);
            mediaTimer = null;
            $('#btnPlay').removeClass("btn-play-active");
            $('#circProgress').circleProgress('value', 0);
        }
    };
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to