quikava04 / flowplayer-plugins

Automatically exported from code.google.com/p/flowplayer-plugins
0 stars 0 forks source link

removing the player in fullscreen mode leaves Android locked in landscape orientation #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start playing a video on an Android device, with onFinish and onStop 
handlers that remove the player from the DOM.
2. Enter fullscreen mode.
3. Let the video end or tap the Stop control.

What is the expected output? What do you see instead?

I expect the web browser to return to normal operation after the player is 
removed from the DOM.  Instead it remains locked in landscape orientation.

What version of the product are you using? On what operating system?

3.2.8 from a svn checkout on 2012-04-06.  Android 2.3.4  Adobe Flash Player 11.1

Please provide any additional information below.

If I close the browser window and open a new one, I can get out of landscape 
orientation.

I can avoid the problem by having my onFinish / onStop handler do this before 
removing the player from the DOM:

  if (player.isFullscreen()) { player.toggleFullscreen(); }

...but I shouldn't have to.  The player should clean up after itself properly, 
not leave the browser locked in a mode.

Original issue reported on code.google.com by tadafor...@gmail.com on 7 Apr 2012 at 5:04

GoogleCodeExporter commented 8 years ago
Oops: This probably belongs in core. Please close this one. Re-filed here:
http://code.google.com/p/flowplayer-core/issues/detail?id=511

Original comment by tadafor...@gmail.com on 7 Apr 2012 at 5:26