Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB62CF8A7 for ; Mon, 26 May 2014 13:28:36 +0000 (UTC) Received: (qmail 21161 invoked by uid 500); 26 May 2014 13:28:36 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 21120 invoked by uid 500); 26 May 2014 13:28:36 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 21112 invoked by uid 99); 26 May 2014 13:28:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 13:28:36 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of philip.medlam@gmail.com designates 74.125.82.179 as permitted sender) Received: from [74.125.82.179] (HELO mail-we0-f179.google.com) (74.125.82.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 13:28:33 +0000 Received: by mail-we0-f179.google.com with SMTP id q59so7966233wes.38 for ; Mon, 26 May 2014 06:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=3oPikrY6lO2YdfLw22/tjtvxRfP+ZJWAQna54a3E+JY=; b=oxYgR1Xwo2EfkUSX6bUbejAfhIo5osnCQGInKSOmmjZssWTFqgNKAUbklsvUCJ+gWS l1CWPS3T2R51RgJ+Uu2gDduxgQ/snwePCyzT2WYxyF/MHVgB/3NkQseXNeQwYsg+8FKY YozWzEPB5Ow78sgrUjxPwGLYTtqKLSbNf4+IIm71xl7Y/ONXyJdOfjBswkDrJdbnIovY SdP2THg1Q+LWzq1h4kAO4kYNefT/k0hhmpVuwkZrT5I5qFkMG9hrucYTG436DgU0UYOz B6rws82B3Z+F3hgTGMM/zbVSLULPFi4dpRANIatE1HE+7VZBfs4V65+pVB4D0IUFNFEc aONg== X-Received: by 10.194.91.144 with SMTP id ce16mr29402029wjb.18.1401110889010; Mon, 26 May 2014 06:28:09 -0700 (PDT) Received: from [192.168.1.68] ([2.83.129.32]) by mx.google.com with ESMTPSA id o2sm26935255wiy.19.2014.05.26.06.28.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 May 2014 06:28:07 -0700 (PDT) Subject: Re: Problem with videoPLayer on Android when changing States References: <1400975075545-6603.post@n4.nabble.com> <2095F5EBE04D59409DFCE91FFCEBF7AFAF2FA291@EXMBX05.netplexity.local> <5B8C6101-3423-4555-9699-5282D58E60F5@gmail.com> <2095F5EBE04D59409DFCE91FFCEBF7AFAF2FA39F@EXMBX05.netplexity.local> <2095F5EBE04D59409DFCE91FFCEBF7AFAF2FA3BB@EXMBX05.netplexity.local> From: Phil Content-Type: text/plain; charset=utf-8 X-Mailer: iPad Mail (11D201) In-Reply-To: <2095F5EBE04D59409DFCE91FFCEBF7AFAF2FA3BB@EXMBX05.netplexity.local> Message-Id: Date: Mon, 26 May 2014 14:28:06 +0100 To: "users@flex.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure what the issue was, but using a popup to display the video seem= s to be working consistently (at least fair the example). Hopefully when I incorporate it into the full program, all will be fine. Many thanks, particularly to Maurice for looking at this issue. Phil Sent from my iPad > On 25 May 2014, at 19:57, Maurice Amsellem w= rote: >=20 > I also tried changing line 33 to =20 > currentState =3D "VideoState"=20 > so that button toggles between video and image. >=20 > And it still works fine. >=20 > Maurice=20 >=20 > -----Message d'origine----- > De : Maurice Amsellem [mailto:maurice.amsellem@systar.com]=20 > Envoy=C3=A9 : dimanche 25 mai 2014 18:54 > =C3=80 : users@flex.apache.org > Objet : RE: Problem with videoPLayer on Android when changing States >=20 > I have just installed and tried the attached project on an iPad : >=20 > - when changing the device orientation while video is playing, video go on= playing > - when clicking on "change orientation button", the video does not appear,= but this is expected, because the state logic switches because ImageState a= nd carState. >=20 > I suggest you run your app in debug mode and try understand what's happeni= ng so that you can fix it. >=20 > Maurice >=20 > -----Message d'origine----- > De : Phil [mailto:philip.medlam@gmail.com] Envoy=C3=A9 : dimanche 25 mai 2= 014 13:36 =C3=80 : users@flex.apache.org Objet : Re: Problem with videoPLaye= r on Android when changing States >=20 > I don't currently have a developers account with Apple to test it, as I ne= ed a certificate. >=20 > I will need one soon, so might get one shortly to test on an iPad. >=20 > I'm about to try to use a popup for the video to see if I can get round th= e problem that way. > If it works it would be a solution. >=20 > Phil. >=20 > Sent from my iPad >=20 >> On 25 May 2014, at 11:38, Maurice Amsellem w= rote: >>=20 >> Does the issue also happen on iOS, or only Android ? >>=20 >> Maurice >>=20 >> -----Message d'origine----- >> De : Philip Medlam [mailto:philip.medlam@gmail.com] Envoy=C3=A9 : dimanch= e >> 25 mai 2014 09:57 =C3=80 : users@flex.apache.org Objet : Re: Problem with= =20 >> videoPLayer on Android when changing States >>=20 >> Thanks for the thought. >> I have tried this and also maunually starting and stopping the video via t= he videoPlayer controls, but the same frozen video problem persists. >>=20 >> The player is still running, as the sound can be heard and the scrubber i= s moving. >>=20 >> Somtimes (but not always), when I move the video forward/back via the scr= ubber bar, the video works again, but this is inconsistant. >>=20 >> Thanks again, >>=20 >> Phil. >>=20 >>=20 >>> On Sun, May 25, 2014 at 12:44 AM, piotrz wro= te: >>>=20 >>> Hi Philip, >>>=20 >>> Maybe this is some kind of issue. I had quite similar problems and I=20 >>> did something stupid but it helps. >>> When you change your states try to play() and immediate stop() your=20 >>> video see if it help. >>>=20 >>> myVid.play(); >>> myVid.stop(); >>>=20 >>> Piotr >>>=20 >>>=20 >>>=20 >>> ----- >>> Apache Flex Committer >>> piotrzarzycki21@gmail.com >>> -- >>> View this message in context: >>> http://apache-flex-users.2333346.n4.nabble.com/Problem-with-videoPLay >>> e r-on-Android-when-changing-States-tp6602p6603.html >>> Sent from the Apache Flex Users mailing list archive at Nabble.com. >>=20 >>=20 >>=20 >> -- >> Philip Medlam