{ "id": "99242", "key": "AC-2647", "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": "2013-04-01T21:11:03.000+0000", "created": "2012-08-15T05:47:01.000+0000", "labels": [ "bug", "ios", "time", "videoplayer" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:44.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\n\r\nThe settings\r\n\r\n- initialPlaybackTime\r\n- endPlaybackTime\r\n\r\ndon't work for the video player. The initialPlaybackTime is ignored and the endPlaybackTime isn't even set in the video player.\r\n\r\nh2. Test case\r\nRun this app with iPhone simulator 5.1 and then enter any seconds you want to use.\r\nThen while the video is played, you can click on the video to see the current playback time, the set initialPlaybackTime and the set endPlaybackTime. \r\nendPlaybackTime is always NaN. And initialPlaybackTime is correctly set, but ignored by the video player.\r\n\r\napp.js is attached to this ticket.\r\n\r\nh2. Logs\r\n\r\n{code:lang=none|title=console}\r\n[INFO] playback time: 2239.325638\r\n[INFO] initial playback time: 10000\r\n[INFO] end playback time: NaN\r\n[INFO] playback time: 4350.692946\r\n[INFO] initial playback time: 10000\r\n[INFO] end playback time: NaN\r\n[INFO] playback time: 6679.456934\r\n[INFO] initial playback time: 10000\r\n[INFO] end playback time: NaN\r\n{code}\r\n\r\n\r\n\r\n", "attachment": [ { "id": "30503", "filename": "app.js", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T05:47:01.000+0000", "size": 2071, "mimeType": "application/x-javascript" }, { "id": "30504", "filename": "Schoenen_Tag.mp4", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T05:47:01.000+0000", "size": 9076839, "mimeType": "video/mp4" } ], "flagged": false, "summary": "initialPlaybackTime and endPlaybackTime not working ", "creator": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.1, iOS SDK 5.1, iPhone simulator", "comment": { "comments": [ { "id": "245009", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Invalid,\r\n\r\nAccording to the documentation:\r\n\r\nendPlaybackTime:\r\nOn iOS, defaults to NaN, which indicates natural end time of the movie. Changing the value to a value less than duration causes the movie to stop playing at the specified point. On iOS, this value is not applicable to streaming media, so NaN is returned if the current media is being streamed.\r\n\r\ninitialPlaybackTime:\r\nDefaults to NaN in iOS and 0 in Android, indicating the natural start time of the movie.\r\n", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T21:10:23.000+0000", "updated": "2013-04-01T21:10:23.000+0000" }, { "id": "280955", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Invalid issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:18:20.000+0000", "updated": "2013-11-24T22:18:20.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }