{ "id": "118924", "key": "TIMOB-14938", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15695", "description": "2013 Sprint 20", "name": "2013 Sprint 20", "archived": true, "released": true, "releaseDate": "2013-10-04" }, { "id": "15696", "description": "2013 Sprint 20 API", "name": "2013 Sprint 20 API", "archived": true, "released": true, "releaseDate": "2013-10-04" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-10-04T20:02:25.000+0000", "created": "2013-08-22T20:41:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [ { "id": "31643", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "93599", "key": "TIMOB-9684", "fields": { "summary": "iOS: Video Player - For VIDEO_SCALING_MODE_FILL scaling mode, video does not scale to complete height until the device is rotated.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31314", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "93599", "key": "TIMOB-9684", "fields": { "summary": "iOS: Video Player - For VIDEO_SCALING_MODE_FILL scaling mode, video does not scale to complete height until the device is rotated.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:40:40.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": "h6.Problem\r\nVideoPlayer time bar and navigation bar are mispositioned. Using TiUITabgroup follow reproduction steps:\r\n\r\nh6.Steps to reproduce\r\nFirst, click the video so the control bar shows.\r\nSecond, change orientation. \r\nThird, you'll see the time bar mispositioned. \r\nForth, close the video player, the tab group navigation bar is mispositioned too. e.g. Screen shoot attached. On iPad, if you change orientation during splash screen, you'll see the same issue.\r\n\r\nh6.Simple sample\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar btn = Ti.UI.createButton({title:'open video'});\r\nbtn.addEventListener('click',function(){\r\n videoWin.open();\r\n});\r\nwin1.add(btn);\r\n\r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n color:'#999',\r\n text:'I am Window 2',\r\n font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n textAlign:'center',\r\n width:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\nvar videoWin = Ti.UI.createWindow({\r\n title:'video player',\r\n backgroundColor:'#000',\r\n fullscreen:true\r\n});\r\nvar vidplayer = Ti.Media.createVideoPlayer({\r\n mediaControlStyle:Ti.Media.VIDEO_CONTROL_FULLSCREEN,\r\n width:Ti.UI.FILL,\r\n height:Ti.UI.FILL,\r\n //url:'http://d269mq2d9sw4la.cloudfront.net/eSchool-video/13Q1-DannySilk-CultureOfHonor/13Q1-DannySilk-CultureOfHonor01.mp4'\r\n url:'http://d269mq2d9sw4la.cloudfront.net/eSchool-video/09Q2-MikeBickle-1stCommandment/09Q2-MikeBickle-1stCommandment02.mp4'\r\n});\r\nvideoWin.add(vidplayer);\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n{code}\r\n\r\nh6.tiapp.xml\r\nSupport orientations so app can rotate along with device\r\n{code}\r\n \r\n \r\n Ti.UI.PORTRAIT\r\n Ti.UI.UPSIDE_PORTRAIT\r\n Ti.UI.LANDSCAPE_LEFT\r\n Ti.UI.LANDSCAPE_RIGHT\r\n \r\n \r\n Ti.UI.PORTRAIT\r\n Ti.UI.UPSIDE_PORTRAIT\r\n Ti.UI.LANDSCAPE_LEFT\r\n Ti.UI.LANDSCAPE_RIGHT\r\n \r\n \r\n location\r\n \r\n \r\n gps\r\n location-services\r\n magnetometer\r\n \r\n \r\n{code}", "attachment": [ { "id": "41810", "filename": "Screenshoot.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-22T20:43:53.000+0000", "size": 30150, "mimeType": "image/jpeg" }, { "id": "41809", "filename": "Untitled.tiff", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-22T20:41:08.000+0000", "size": 66274, "mimeType": "image/tiff" } ], "flagged": false, "summary": "iOS: VideoPlayer Timeline and Navigation Bar mispositioned after using Fullscreen mode (Tabgroup)", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.2.GA\r\niOS 6", "comment": { "comments": [ { "id": "270044", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Set the fullscreen property on the video to true and things should work fine. \r\nUse fullscreen controls with a fullscreen video.\r\n", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-06T20:49:22.000+0000", "updated": "2013-09-06T20:49:22.000+0000" }, { "id": "270056", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Still an issue when you exit fullscreen mode", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-06T21:01:29.000+0000", "updated": "2013-09-06T21:01:29.000+0000" }, { "id": "270071", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Use this code as a workaround on IOS 6.X and below. There seems to be some issue with using Ti.Media.VIDEO_CONTROL_FULLSCREEN\n\n{code}\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\nTitanium.UI.setBackgroundColor('#000');\n \n// create tab group\nvar tabGroup = Titanium.UI.createTabGroup();\n \n \n//\n// create base UI tab and root window\n//\nvar win1 = Titanium.UI.createWindow({ \n title:'Tab 1',\n backgroundColor:'#fff'\n});\n \nvar tab1 = Titanium.UI.createTab({ \n icon:'KS_nav_views.png',\n title:'Tab 1',\n window:win1\n});\n \nvar btn = Ti.UI.createButton({title:'open video'});\nbtn.addEventListener('click',function(){\n videoWin.open();\n});\nwin1.add(btn);\n \n//\n// create controls tab and root window\n//\nvar win2 = Titanium.UI.createWindow({ \n title:'Tab 2',\n backgroundColor:'#fff'\n});\nvar tab2 = Titanium.UI.createTab({ \n icon:'KS_nav_ui.png',\n title:'Tab 2',\n window:win2\n});\n \nvar label2 = Titanium.UI.createLabel({\n color:'#999',\n text:'I am Window 2',\n font:{fontSize:20,fontFamily:'Helvetica Neue'},\n textAlign:'center',\n width:'auto'\n});\n \nwin2.add(label2);\n\nvar videoWin = Ti.UI.createWindow({\n title:'video player',\n backgroundColor:'#000',\n fullscreen:true\n});\nvar vidplayer = Ti.Media.createVideoPlayer({\n mediaControlStyle:Ti.Media.VIDEO_CONTROL_FULLSCREEN,\n width:Ti.UI.FILL,\n height:Ti.UI.FILL,\n fullscreen:true,\n autoplay:false,\n //url:'http://d269mq2d9sw4la.cloudfront.net/eSchool-video/13Q1-DannySilk-CultureOfHonor/13Q1-DannySilk-CultureOfHonor01.mp4'\n url:'http://d269mq2d9sw4la.cloudfront.net/eSchool-video/09Q2-MikeBickle-1stCommandment/09Q2-MikeBickle-1stCommandment02.mp4'\n});\n\nvidplayer.addEventListener('fullscreen',function(e){\n \n if(e.entering == true) {\n vidplayer.mediaControlStyle = Ti.Media.VIDEO_CONTROL_FULLSCREEN;\n } else {\n setTimeout(function(){\n vidplayer.mediaControlStyle = Ti.Media.VIDEO_CONTROL_EMBEDDED;\n },500);\n }\n \n})\nvideoWin.add(vidplayer);\n\nvideoWin.addEventListener('open',function(){\n vidplayer.play();\n})\n//\n// add tabs\n//\ntabGroup.addTab(tab1); \ntabGroup.addTab(tab2); \n \n \n// open tab group\ntabGroup.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-06T21:18:47.000+0000", "updated": "2013-09-06T21:18:47.000+0000" }, { "id": "270073", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "JS workaround provided", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-06T21:19:29.000+0000", "updated": "2013-09-06T21:19:29.000+0000" }, { "id": "273840", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@[~btran]\nI'm going to resolve this as won't fix. To properly resolve this and meet customers needs you need to create a custom overlay with your own controls to manage movie state and set mediaControlStyle to NONE. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-04T20:02:11.000+0000", "updated": "2013-10-04T20:02:11.000+0000" }, { "id": "415481", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Won't Fix with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:40:40.000+0000", "updated": "2017-03-23T22:40:40.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }