{ "id": "131266", "key": "TIMOB-17078", "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": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-05T17:56:56.000+0000", "created": "2014-06-04T23:25:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:44:34.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "h5.Description\r\nLocal files do not play on a BlackBerry device, however files from over a network do play.\r\n\r\nh5.Steps To Reproduce\r\n1. Create a BlackBerry project\r\n2. Add the following to your app.js\r\n{code}\r\nvar win = Titanium.UI.createWindow({ title:'Sounds Test', backgroundColor:'#fff', layout:\"vertical\" });\r\n\r\nvar playerExt = Ti.Media.createSound({ url: 'http://www.wav-sounds.com/vehicle/ferrari250.wav' });\r\nvar playSoundExt = Titanium.UI.createButton({ title:'External Sound File', top:10 });\r\nplaySoundExt.addEventListener('click',function(e){ playerExt.play(); });\r\n\r\nvar playerInt = Ti.Media.createSound({ url: 'path/to/local/file.mp3' });\r\nvar playSoundInt = Titanium.UI.createButton({ title:'Local Sound File', top:10 });\r\nplaySoundInt.addEventListener('click',function(e){ playerInt.play(); });\r\n\r\nwin.add(playSoundExt);\r\nwin.add(playSoundInt);\r\nwin.open();\r\n{code}\r\n3. Change playerInt variable to link to a local file\r\n4. Run on device\r\n\r\nh5.Expected Result\r\nExternal Button should play a car sound\r\nInternal Button should play your local sound\r\n\r\nh5.Actual Result\r\nExternal Button plays fine\r\nInternal Button does not play", "attachment": [], "flagged": false, "summary": "BlackBerry: Can't play local files using createSound function", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405271647\r\nTitanium SDK, build: 3.3.0.v20140604134913\r\nTitanium CLI, build: 3.3.0-beta2\r\nAlloy: 1.4.0-beta\r\nBlackBerry SDK: 10.2.1.1055\r\nBlackBerry Device: Q10 (10.2.1.2945)", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "410621", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:44:34.000+0000", "updated": "2017-03-09T21:44:34.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }