Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2954] iOS: Programmatically change the url property of Ti.Media.createSound

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-06-28T13:52:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 2.0.1
ComponentsiOS
Labelstraining
ReporterRick Blalock
AssigneeNeeraj Gupta
Created2011-04-15T03:33:39.000+0000
Updated2017-03-07T18:28:39.000+0000

Description

Currently it's not possible to programmatically set the url property of Ti.Media.createSound.

HD Ticket: http://developer.appcelerator.com/helpdesk/view/63241">http://developer.appcelerator.com/helpdesk/view/63241

Tested on 1.5.1

Comments

  1. Stephen Tramer 2012-01-26

    *NOTE*: Although there is no sample code, this seems like a fairly straightforward feature request.
  2. Junaid Younus 2012-06-28

     
       var win = Ti.UI.createWindow({ backgroundColor: "white" });
       
       var player = Ti.Media.createSound({url:"sound.wav"});
       player.play();
       
       Ti.API.info("Is sound playing: " + player.playing);
       
       win.open();
       
    Works fine on the iOS simulator, using TiSDK 2.0.2GA. Ticket closed.
  3. Lee Morris 2017-03-07

    Closing ticket due to time passed.

JSON Source