{ "id": "171083", "key": "AC-5592", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-03-09T21:04:30.000+0000", "created": "2018-02-12T09:00:23.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-13T08:48:25.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Android:\r\nWith the given example in the Documentation.\r\nIf we start the Video in the Video player and put the app in the background.\r\nand then again open the app the Video is starting from the initial time.\r\nThis is unexpected.", "attachment": [], "flagged": false, "summary": "Android: Videoplayer restart the video if the app is put to background.", "creator": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 6.3.0GA.\r\nAppc Studio 4.10\r\nAndroid Marshmello.\r\n\r\n", "comment": { "comments": [ { "id": "434389", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~shumne], Thanks for sharing with us. Can you please update your environment and test again. It would be better if you can attach reproducible test code. Also, provide detail affected environment. Thanks.\r\n\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-02-12T22:08:16.000+0000", "updated": "2018-02-13T08:42:38.000+0000" }, { "id": "434423", "author": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Please find the test code below.\r\n\r\nvar win = Titanium.UI.createWindow({\r\n title : 'Test',\r\n backgroundColor : '#fff',\r\n exitOnClose : true\r\n});\r\n\r\nvar contentURL = \"/www.exapmle.com/video.mp4\";\r\n\r\nvar activeMovie = Titanium.Media.createVideoPlayer({\r\n \theight:\"400dp\",\r\n \twidth:Ti.UI.SIZE,\r\n url : contentURL,\r\n backgroundColor : 'blue',\r\n mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n // fullscreen : true,\r\n autoplay : true\r\n });\r\nwin.add(activeMovie);\r\nwin.open();\r\n\r\nOnce you run the app the video will start at that time put the app in background for some second and launch it again.\r\n\r\nAffected Environment:\r\nTi SDK 6.3.0.GA\r\nAppc Studio 4.10\r\nCLI 6.3.0\r\nAndroid Marshmello 6.0.1\r\n\r\nPlease let me know if you need more details.\r\n", "updateAuthor": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-13T17:02:41.000+0000", "updated": "2018-02-13T17:02:41.000+0000" }, { "id": "434424", "author": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It was expected to me that the video should start where I left it and not from the initial playback time.", "updateAuthor": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-13T17:09:32.000+0000", "updated": "2018-02-13T17:09:32.000+0000" }, { "id": "434434", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Is this only happening for Android Marshmello 6.0? I tested the issue with Android 8.0 with SDK 7.0.1.GA, and I see the video resumes from last play time. But I see that it's takes 4-5 seconds to playback. Can you test on some higher Android version? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-02-13T21:41:46.000+0000", "updated": "2018-02-13T21:41:46.000+0000" }, { "id": "434638", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~shumne],\r\nI just wanted to follow up with you about this issue.Did you manage to test some higher Android version? Please let us know if you need more help with this issue.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-02-20T06:01:10.000+0000", "updated": "2018-02-20T06:01:10.000+0000" }, { "id": "434885", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "\r\nHello [~shumne],
Just passing a followup here.Are you able to get that sorted out?  Please let us know if you need more help with this issue.\r\nRegards
\r\nAxway Appcelerator Support", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-02-26T06:23:57.000+0000", "updated": "2018-02-26T06:23:57.000+0000" }, { "id": "435383", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~shumne],
I just wanted to follow up here. Did you manage to follow the instructions provided earlier? Let us know if you still experience any issue. We would be happy to assist you.\r\nBest Regards!", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-03-08T11:53:48.000+0000", "updated": "2018-03-08T11:53:48.000+0000" }, { "id": "435534", "author": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\nYes, it is working on Android 7 and 8 not sure why it is taking a lot of time on Marshmello!\r\n", "updateAuthor": { "name": "shumne", "key": "shumne", "displayName": "shumne", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-13T08:48:25.000+0000", "updated": "2018-03-13T08:48:25.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }