{ "id": "173934", "key": "TIMOB-27276", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-07-24T13:14:31.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" }, { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [ { "id": "57754", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114573", "key": "TIMOB-13913", "fields": { "summary": "Android video playbackState, seek event non-existant", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2019-07-26T18:05:28.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When scrubbing through a video no playback state alerts are fired (this works fine in android).\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#ff00ff'\r\n});\r\n \r\nvar vidPlayer = Ti.Media.createVideoPlayer({\r\n\twidth:Ti.Platform.displayCaps.platformWidth,\r\n\theight:Ti.Platform.displayCaps.platformWidth / 2,\r\n\ttop:0,\r\n\tbackgroundColor:'#000',\r\n\tautoplay:true,\r\n\tmediaControlStyle:Ti.Media.VIDEO_CONTROL_EMBEDDED,\r\n\turl:'http://vjs.zencdn.net/v/oceans.mp4'\t\r\n});\r\n \r\nfunction playbackStateChange(event)\r\n{\r\n\talert('playbackState: ' + event.playbackState);\r\n}\r\nvidPlayer.addEventListener('playbackState', playbackStateChange);\r\n \r\nwin.add(vidPlayer);\r\nwin.open();\r\n{code}\r\n\r\n*Test Steps:*\r\n# Create a Titanium application with the test case above\r\n# Run the app\r\n# Wait for the video to load\r\n# Seek through the video\r\n\r\n*Expected result:*\r\nYou should get alert \" playbackstate : \"a number here\" \" e.g. playbackstate:5, when you seek the video forward or backward. Also you get logs in the console.\r\n\r\n*Actual result:*\r\nNo alerts are shown and nothing is logged in the console. ", "attachment": [], "flagged": false, "summary": "[iOS]Unable to get playback state alert/logs when seeking a video", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone 6s 12.3\r\nMacOS Mojave version 10.14.4\r\nXcode 10.4\r\nNode.js ^8.12.0\r\n\"NPM\":\"4.2.13\",\"CLI\":\"7.1.0-master.24\"\r\nSDK 8.0.2.GA \r\nSDK 8.1.0.v20190716120350", "comment": { "comments": [ { "id": "450093", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~smohammed] Event name is 'playbackstate' ('s' in small letter). See document [here|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.VideoPlayer-event-playbackstate].", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-26T18:05:28.000+0000", "updated": "2019-07-26T18:05:28.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }