SoundCloud Widget API setVolume Method broken? -


i'm using soundcloud's widget api, except setvolume() method broken :(

first, love widget, i'm blown away after amazing work there no volume control available! people "back button" out of site when hear 100% audio , can't alter using setvolume()... have working or pull :(

here happening, have instance named "widget" (which loads , plays on page).

widget.bind(sc.widget.events.ready, function() {     $('#audioindictments').removeclass('remove');  // disables css rule, making soundcloud iframe visible      widget.setvolume(10);  //  should set volume 10% doesn't :(     widget.getvolume(function(vol){         console.log(vol);  // outputs 0.1 in console :/         console.log(widget);  // outputs object in console , don't see out of whack :|     });      widget.play();  // fires widget , audio begins playing :)     widget.setvolume(10);  // see if makes difference, after play() method, ran setvolume again after play() method , still no change :(      widget.getvolume(function(vol){         console.log(vol);  // still outputs 0.1 in console :/     }); }); 

strange results. found blogger asked similar question , got no satisfactory answer. what's deal here? not seeing?

thank taking time :)

try using volume between 0 , 1. fixed me.

0.25 = 25% volume


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -