{ "id": "103131", "key": "TIMOB-11384", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-10-11T18:17:16.000+0000", "created": "2012-10-11T16:50:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios100112", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:12.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": "Description:\r\nWhile testing Status Bar in Media module, I noticed that Video is not playing.\r\n*It is a regression, works fine in 2.1.3*\r\n\r\nTest steps:\r\n1. Run the attached code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'#fff',\r\n top: 0,\r\n left: 0,\r\n width: '100%',\r\n height: '100%',\r\n zIndex: 10,\r\n});\r\n \r\nvar bTSOStream = Ti.UI.createButton({\r\n width: 150,\r\n height: 30,\r\n color: 'blue',\r\n title: 'Live-Stream',\r\n font: {fontSize:14,fontFamily:'Helvetica Neue'},\r\n left: 0,\r\n top: 0,\r\n});\r\nbTSOStream.addEventListener('click', function(e){\r\n var wStream = Ti.UI.createWindow({\r\n fullscreen: true,\r\n orientationModes: [Titanium.UI.PORTRAIT, Titanium.UI.LANDSCAPE_RIGHT, Titanium.UI.LANDSCAPE_LEFT],\r\n backgroundColor: '#000',\r\n });\r\n wStream.open();\r\n \r\n var vpStream = Ti.Media.createVideoPlayer({\r\n contentURL: 'http://movies.apple.com/media/us/ipad/2010/tours/apple-ipad-video-us-20100127_r848-9cie.mov',\r\n backgroundColor: '#111',\r\n movieControlMode: Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n //scalingMode: Titanium.Media.VIDEO_SCALING_MODE_FILL ,\r\n scalingMode: Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n fullscreen: true,\r\n });\r\n var ignoreFullscreenEvent = false;\r\n vpStream.addEventListener('naturalSizeAvailable', function(e){\r\n ignoreFullscreenEvent = true;\r\n });\r\n vpStream.addEventListener('fullscreen', function(e){\r\n if(!ignoreFullscreenEvent){\r\n wStream.close();\r\n }\r\n ignoreFullscreenEvent = false;\r\n });\r\n wStream.add(vpStream);\r\n \r\n \r\n});\r\nwin.add(bTSOStream);\r\n \r\nwin.open();\r\n{code}\r\n\r\nActual result:\r\nVideo is not playing.\r\nConsole returns: \r\n[WARN] Titanium.Media.VideoPlayer.movieControlMode DEPRECATED in 1.8.0, in favor of Ti.Media.VideoPlayer.mediaControlStyle.\r\nExpected result:\r\nVideo should play\r\n", "attachment": [], "flagged": false, "summary": "iOS: Media - Video is not playing", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nTitanium Studio, build: 3.0.0.201210090117\r\nTitanium SDK, build: 3.0.0.v20121010184612\r\nDevices:\r\niPad3 ios 5.1.1\r\niPhone4 ios 5.1.1\r\niPhone5 ios 6.0\r\niPod Superman ios 6.0", "comment": { "comments": [ { "id": "223123", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "contentUrl is removed. Use url", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T18:17:16.000+0000", "updated": "2012-10-11T18:17:16.000+0000" }, { "id": "309456", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing as invalid", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T23:23:45.000+0000", "updated": "2014-06-17T23:23:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }