{ "id": "164161", "key": "AC-4577", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-10-25T15:04:29.000+0000", "created": "2016-10-24T09:56:36.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-25T20:57:03.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." } ], "description": "\r\n\r\nThe initialPlaybackTime property of video player does on IOS not work consistently. \r\nInstead of starting from this time, it always starts from the beginning\r\nThe issue does not occur on Android.\r\n\r\nSteps to Reproduce:\r\n 1. Create a project with code below and install it on iOS device\r\n\r\nIndex.xml\r\n\t\r\n\t    \r\n\t        \r\n\t    \r\n\t\r\nIndex.js\r\n\t$.index.open();\r\n\t2. Run project\r\n\r\nActual Result\r\n===========\r\nThe video plays from the beginning \r\n\r\nExpected Result:\r\n=============\r\nThe video should start to play from 20 seconds.\r\n", "attachment": [], "flagged": false, "summary": "InitialPlaybackTime of videoPlayer not working on IOS", "creator": { "name": "jevang", "key": "jevang", "displayName": "Juan Evangelista", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "jevang", "key": "jevang", "displayName": "Juan Evangelista", "active": true, "timeZone": "Europe/Madrid" }, "environment": "Appcelerator Studio, build: 4.7.1.201609100950\r\nAppcelerator CLI\r\n Installer = 4.2.7\r\n Core Package = 5.5.1\r\n\r\nTitanium CLI 5.0.9\r\nTitanium SDKs 5.5.1.GA\r\n\r\nXcode\r\n 8.0 (build 8A218a) - Xcode default\r\n iOS SDKs = 10.0\r\n\r\nConnected iOS Devices\r\n iPhone xxx\r\n Type = iPhone \r\n iOS Version = 10.0.2\r\n", "comment": { "comments": [ { "id": "399787", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "When you use the property {{initialPlaybackTime}} you need to specify a local video, because you may not have the remote video data already when creating the video player. So in this case, you way want to check out the {{Ti.Media.VideoPlayer}} events and use the {{setCurrentPlaybackTime}} to set the playback time after the video buffer is available. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-25T15:04:30.000+0000", "updated": "2016-10-25T15:04:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }