Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11738] BlackBerry: Titanium.Media.createSound doesn't work.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-08-20T23:26:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.0
ComponentsBlackBerry
Labelsblackberry, media, qe-3.3.0, qe-testadded
ReporterDan Tamas
AssigneePedro Enrique
Created2012-11-10T17:25:52.000+0000
Updated2014-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

FileDateSize
capture-5.png2012-11-10T17:25:52.000+000056820

Comments

  1. Lokesh Choudhary 2013-04-04

    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
  2. Lokesh Choudhary 2013-04-04

    Correcting wrong sdk version.
  3. Lokesh Choudhary 2013-04-04

    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
  4. Olga Romero 2014-06-02

    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)
  5. Pedro Enrique 2014-06-03

    PR for master: https://github.com/appcelerator/titanium_mobile_blackberry/pull/258
  6. Ewan Harris 2014-08-20

    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
  7. Ewan Harris 2014-08-20

    Reopening to change SDK build and Studio build

JSON Source