Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function load_sound( items )
if((items ==null) || (items.length < 1))
var s_url = get_sound_id(items);
console.log('s_url=' + s_url );
var divSound= $('div#id-div-sound1');
var s_web="";
s_web ='<iframe width="100%" scrolling="no" frameborder="no" style="margin : 0px; height: 450px;"';
s_web +=' src="'+ s_url + '">';
s_web +='</iframe>';
divSound.append( $(s_web) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment