{ "id": "63400", "key": "TIMOB-2768", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:29:02.000+0000", "created": "2011-04-15T03:29:01.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "apple", "bar", "bug", "ios", "ipass1", "status", "video" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-07T19:56:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
In tiapp.xml, setting the status bar hidden, hides the status\nbar as expected. But when a movie is played using\n'createVideoPlayer' the status bar appears and cannot be hidden\nagain. This is from a Help Desk ticket:
\nhttp://developer.appcelerator.com/helpdesk/view/63571
Here is a sample code: http://pastie.org/private/qvp8jfkqm2jgi33qvurniq
Apple bug. Transitioning to fullscreen mode in a video forces\nthe display of the status bar - however, exiting it removes the\nstatus bar from the screen (whether by 'DONE' button or some other\nmethod).
\nRadar bug # 8925941.
\nMoving to TBS/HOLD because it relies on Apple fixing the\nissue.
I understand that this is an Apple bug, but the status bar does\nnot disappear after the video is done.
\nCode:
\n// =======================================\n// app.js\n\nvar win1 = Ti.UI.createWindow({});\nvar image = Titanium.UI.createImageView({image:'images/V/v0.jpg'});\n\nwin1.add(image); \nwin1.open();\n\nimage.addEventListener('click', function(e){ \n var videowin = Titanium.UI.createWindow({\n url: 'video1_play.js',\n });\n videowin.open();\n});\n\n\n// =======================================\n// video1_play.js\n\nvar videowin = Titanium.UI.currentWindow;\n\nvar v=Titanium.Media.createVideoPlayer({\n contentURL:'movie.mp4',\n movieControlMode:Titanium.Media.VIDEO_CONTROL_FULLSCREEN,\n\n});\nv.addEventListener('complete',function(){ \n videowin.close();\n});\n\nvideowin.add(v);\nv.play();
\n
\niPad Simulator 4.2
\nTi SDK 1.6 RC1
Helpdesk ticket: http://developer.appcelerator.com/helpdesk/view/73021
Apple has marked the bug invalid ('correct behavior').