Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 868C018DAD for ; Sun, 11 Oct 2015 16:57:40 +0000 (UTC) Received: (qmail 61920 invoked by uid 500); 11 Oct 2015 16:57:27 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 61882 invoked by uid 500); 11 Oct 2015 16:57:27 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 61871 invoked by uid 99); 11 Oct 2015 16:57:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2015 16:57:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8E475DFF1B; Sun, 11 Oct 2015 16:57:26 +0000 (UTC) From: nbazzeghin To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-plugin-media pull request: Streaming & Background threadin... Content-Type: text/plain Message-Id: <20151011165726.8E475DFF1B@git1-us-west.apache.org> Date: Sun, 11 Oct 2015 16:57:26 +0000 (UTC) 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 infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org