I'm not sure what the issue was, but using a popup to display the video seems 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 <maurice.amsel...@systar.com> > wrote: > > I also tried changing line 33 to > currentState = "VideoState" > so that button toggles between video and image. > > And it still works fine. > > Maurice > > -----Message d'origine----- > De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] > Envoyé : dimanche 25 mai 2014 18:54 > À : users@flex.apache.org > Objet : RE: Problem with videoPLayer on Android when changing States > > I have just installed and tried the attached project on an iPad : > > - 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 and > carState. > > I suggest you run your app in debug mode and try understand what's happening > so that you can fix it. > > Maurice > > -----Message d'origine----- > De : Phil [mailto:philip.med...@gmail.com] Envoyé : dimanche 25 mai 2014 > 13:36 À : users@flex.apache.org Objet : Re: Problem with videoPLayer on > Android when changing States > > I don't currently have a developers account with Apple to test it, as I need > a certificate. > > I will need one soon, so might get one shortly to test on an iPad. > > I'm about to try to use a popup for the video to see if I can get round the > problem that way. > If it works it would be a solution. > > Phil. > > Sent from my iPad > >> On 25 May 2014, at 11:38, Maurice Amsellem <maurice.amsel...@systar.com> >> wrote: >> >> Does the issue also happen on iOS, or only Android ? >> >> Maurice >> >> -----Message d'origine----- >> De : Philip Medlam [mailto:philip.med...@gmail.com] Envoyé : dimanche >> 25 mai 2014 09:57 À : users@flex.apache.org Objet : Re: Problem with >> videoPLayer on Android when changing States >> >> Thanks for the thought. >> I have tried this and also maunually starting and stopping the video via the >> videoPlayer controls, but the same frozen video problem persists. >> >> The player is still running, as the sound can be heard and the scrubber is >> moving. >> >> Somtimes (but not always), when I move the video forward/back via the >> scrubber bar, the video works again, but this is inconsistant. >> >> Thanks again, >> >> Phil. >> >> >>> On Sun, May 25, 2014 at 12:44 AM, piotrz <piotrzarzyck...@gmail.com> wrote: >>> >>> Hi Philip, >>> >>> Maybe this is some kind of issue. I had quite similar problems and I >>> did something stupid but it helps. >>> When you change your states try to play() and immediate stop() your >>> video see if it help. >>> >>> myVid.play(); >>> myVid.stop(); >>> >>> Piotr >>> >>> >>> >>> ----- >>> Apache Flex Committer >>> piotrzarzyck...@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. >> >> >> >> -- >> Philip Medlam