[TIMOB-11738] BlackBerry: Titanium.Media.createSound doesn't work.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-20T23:26:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.4.0 |
Components | BlackBerry |
Labels | blackberry, media, qe-3.3.0, qe-testadded |
Reporter | Dan Tamas |
Assignee | Pedro Enrique |
Created | 2012-11-10T17:25:52.000+0000 |
Updated | 2014-08-20T23:26:38.000+0000 |
Description
var win = Ti.UI.createWindow({
backgroundColor:'#f00'
});
win.open();
try {
var intro_sound = Ti.Media.createSound({url:'/boing.mp3'});
intro_sound.play();
}
catch(err) {
alert(err);
}
Attachments
File | Date | Size |
---|---|---|
capture-5.png | 2012-11-10T17:25:52.000+0000 | 56820 |
Verified the fix above by running the code given in the ticket & the audio file plays as expected without any errors. Ti Studio: 3.1.0.201304031528 Ti SDK : 3.1.0.201304031528 BB device : Z10 running 10.0.10.88
Correcting wrong sdk version.
Verified the fix above by running the code given in the ticket & the audio file plays as expected without any errors. Ti Studio: 3.1.0.201304031528 Ti SDK : 3.2.0.v20130404072059 BB device : Z10 running 10.0.10.88
Cannot play sound. Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140530163312 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-beta npm@1.3.2 titanium@3.3.0-beta2 titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1)
PR for master: https://github.com/appcelerator/titanium_mobile_blackberry/pull/258
Verified fix on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.4.0.201408180158 Titanium SDK build: 3.4.0.v20140819094113 Titanium CLI, build: 3.4.0-dev Alloy: 1.5.0-dev Blackberry Device Z10 (10.2.1.2947) Blackberry Sim (10.3) Created a test app using the code in the description, the audio file plays as expected with no errors. Closing ticket
Reopening to change SDK build and Studio build