You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ashraf Yussouff (JIRA)" <ji...@apache.org> on 2015/12/07 17:01:11 UTC
[jira] [Created] (CB-10158) StatusBar issue when recovering from
fullscreen video playback in landscape mode
Ashraf Yussouff created CB-10158:
------------------------------------
Summary: StatusBar issue when recovering from fullscreen video playback in landscape mode
Key: CB-10158
URL: https://issues.apache.org/jira/browse/CB-10158
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Statusbar
Affects Versions: 5.4.1
Environment: Cordova version 5.4.1 (Using CLI, not platform tools)
StatusBar plugin version 2.0.0
Building app on OS X El Capitan
Device platform: iOS 9.1
TESTED IN SIMULATOR ONLY (iPhone 6 / iOS 9.1)
Not tested for any other device platform
Using the following configuration in config.xml:
{code:xml}
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#000000" />
<preference name="StatusBarStyle" value="lightcontent" />
</platform>
{code}
Reporter: Ashraf Yussouff
App uses Single Page Architecture. All HTML is loaded from a remote server into a div tag on the page. A header bar at the top of the page is fixed and is outside the div tag used for loading the remote HTML.
With StatusBarOverlaysWebView=false in config.xml, app starts correctly in simulator with the status bar above the page header bar.
Sequence of steps:
# Load HTML with a <video> tag for some mp4 video
# Start playback of video
# Simulate device rotation using Simulator->Hardware->Rotate Left
#* Video automatically switches to fullscreen and fills the entire simulator screen
# Simulate rotation back to portrait mode using Simulator->Hardware->Rotate Right
# Click "Done" to exit native player
# NOW THE STATUS BAR COVERS THE WEBVIEW - WebView is now pushed all the way up and behind the status bar.
Problem has only been noticed when recovering from fullscreen video playback involving device rotation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org