{ "id": "105048", "key": "TIMOB-11779", "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": "15107", "description": "2013 Sprint 09", "name": "2013 Sprint 09", "archived": true, "released": true, "releaseDate": "2013-05-06" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-05-06T09:00:05.000+0000", "created": "2012-11-15T16:58:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:25.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.Issue\r\nApp is not able to get fullscreen video to close properly on an iPad device/simulator. \r\n\r\nAlso, _complete_ event listener gets fired twice\r\n\r\n{code}\r\n[INFO] 1BestPractices/1.0 (2.1.4.GA.51f2c64)\r\n[INFO] Movie Complete\r\n[INFO] Movie Complete\r\n{code}\r\n\r\nh6.Expected results\r\nGet window closed when \"DONE\" button get clicked\r\n\r\nh6.Tested on\r\niOS 5.1.5 iPad Simulator\r\nOn iOS 6 is not reproducible\r\n\r\nh6.Steps to reproduce\r\n1. Grab and paste app.js below\r\n2. Run in iPad simulator\r\n3. Hold till video get played\r\n4. Click \"DONE\" button, notice how the Fullscreen video can't be get closed\r\n5. Repeat steps 1 to 4 on iOS 6 - the DONE button might work in such Ti SDK\r\n\r\nh6.Repro sequence\r\n{code}\r\nfunction playFullscreenVideo(videoUrl) {\r\n var win = Ti.UI.createWindow({\r\n orientationModes: [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT]\r\n });\r\n var player = Ti.Media.createVideoPlayer({\r\n mediaControlStyle: Ti.Media.VIDEO_CONTROL_FULLSCREEN,\r\n scalingMode: Ti.Media.VIDEO_SCALING_ASPECT_FIT,\r\n fullscreen: true,\r\n url: videoUrl\r\n });\r\n player.addEventListener('complete', function(e) {\r\n Ti.API.info('Movie Complete');\r\n //player.setFullscreen(false);//Added\r\n player.stop();\r\n player.release();\r\n win.close();\r\n });\r\n player.addEventListener('fullscreen', function(e) {\r\n if (!e.entering) {\r\n Ti.API.info('Entering fullscreen');\r\n player.stop();\r\n player.release();\r\n win.close();\r\n }\r\n });\r\n win.add(player);\r\n win.open();\r\n}\r\n \r\n//Providing x video ... \r\nvar contentURL = 'http://movies.apple.com/media/us/ipad/2010/tours/apple-ipad-video-us-20100127_r848-9cie.mov';\r\n \r\nplayFullscreenVideo( contentURL );\r\n{code}\r\n\r\nh6.Workaround\r\nRemove \"mediaControlStyle\" property of Ti.Media.VideoPlayer object.", "attachment": [], "flagged": false, "summary": "iOS: iPad - \"DONE\" button not working in Fullscreen video", "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": "Titanium SDK 2.1.4.GA\r\niOS 5.1.1", "comment": { "comments": [ { "id": "250283", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "cannot reproduce\r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-06T09:00:05.000+0000", "updated": "2013-05-06T09:00:05.000+0000" }, { "id": "250976", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\n\r\nSDK:3.1.1.v20130508233955\r\nAppcelerator Studio: 3.1.1.201305072102\r\nOS: OSX 10.7.5\r\nDevice:ipad simulator\r\n\r\nCannot reproduce", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T10:29:52.000+0000", "updated": "2013-05-09T10:29:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }