{ "id": "97616", "key": "AC-3036", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2014-01-01T21:39:35.000+0000", "created": "2012-07-18T23:49:48.000+0000", "labels": [ "ipad", "iphone", "tab", "tabGroup", "tabbar", "tabbarhidden", "videoplayer" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:04.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": [], "description": "I have an app with tabs and navigation bar, which display a video window. this video window embeds videoplayer and some buttons which I am displaying on top of video).\r\n\r\nafter videoplayer receives \"complete\" event it gets corrupted and can no longer replay the same video using embedded video control.\r\nonly audio can be heard but the videoplayer is black\r\n\r\ni am opening into this window with:\r\ntabGroup.activeTab.open(...)\r\n\r\nthe window contains the following 2 elements:\r\n win.add(moviePlayer);\r\n win.add(bottomBarContainer);\r\n\r\nthe navigation bar is visible but the tabbar is hidden in this window the entire time\r\n", "attachment": [], "flagged": false, "summary": "After video player receives \"complete\" event it can no longer (re)play the video", "creator": { "name": "dkalashnikov", "key": "dkalashnikov", "displayName": "Dmitry K", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dkalashnikov", "key": "dkalashnikov", "displayName": "Dmitry K", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "titanium 2.1+, iphone/ipad", "comment": { "comments": [ { "id": "210646", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nCan you please post a sample code to test?\r\n\r\nThank you", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-07-31T05:10:10.000+0000", "updated": "2012-07-31T05:10:10.000+0000" }, { "id": "217143", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Need more info to replicate", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-31T06:13:07.000+0000", "updated": "2012-08-31T06:13:07.000+0000" }, { "id": "284053", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI tested this issue with the test code below. I can’t reproduce this issue in Ti SDK 3.2.0.v20131209192649. It is most likely fixed. Please install the latest SDK and test your app. If you continue to get error, please send us a test case with steps to reproduce. \r\n\r\nh5. Testing Environment:\r\nTi CLI 3.2.0-cr3\r\nTitanium SDK: 3.2.0.v20131209192649\r\nIOS Simulator 7.0 \r\n\r\n\r\n\r\nh5. Test Code\r\n\r\napp.js\r\n{code}\r\n var tabGroup = Titanium.UI.createTabGroup();\r\n\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar tab1 = Titanium.UI.createTab({\r\n\ticon : 'KS_nav_views.png',\r\n\ttitle : 'Tab 1',\r\n\twindow : win1\r\n});\r\n\r\nvar Press = Ti.UI.createButton({\r\n\ttitle : 'Press',\r\n\tcolor : 'white'\r\n\r\n});\r\n\r\nwin1.add(Press);\r\n\r\nvar win = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nPress.addEventListener('click', function() {\r\n\ttabGroup.activeTab.open(win);\r\n\r\n});\r\n\r\nvar videoPlayer = Titanium.Media.createVideoPlayer({\r\n\ttop : 50,\r\n\turl : '/etc/Mat.mp4',\r\n\tautoplay : true,\r\n\theight : 300,\r\n\twidth : 300,\r\n\tmediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n\tscalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT\r\n});\r\n\r\nvideoPlayer.addEventListener('complete', function() {\r\n\tTi.API.info('complete');\r\n});\r\n\r\nwin.add(videoPlayer);\r\n\r\nvar close = Ti.UI.createButton({\r\n\ttitle : 'close',\r\n\ttop : '10',\r\n\r\n});\r\n\r\nclose.addEventListener('click', function() {\r\n\ttabGroup.activeTab.close(win);\r\n\r\n});\r\n\r\ntabGroup.addTab(tab1);\r\ntabGroup.open();\r\n\r\n\r\n{code}\r\n \r\n\r\nh5. Steps to Test\r\n\r\n# Create a new project\r\n# Update app.js file \r\n# And run this project with testing environment\r\n# Click on Press Button, it’s open new window with video player \r\n# Click one replay button after end of video\r\n# Then you will see video start play again \r\n \r\n\r\nThanks\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T19:45:05.000+0000", "updated": "2013-12-13T18:23:50.000+0000" }, { "id": "286418", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We cannot reproduce this issue with 3.2.0 GA release.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-01T21:39:35.000+0000", "updated": "2014-01-01T21:39:35.000+0000" }, { "id": "286623", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since the issue can't be reproduced in 3.2GA and a functional sample has been posted.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T20:29:32.000+0000", "updated": "2014-01-03T20:29:32.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }