Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created June 5, 2014 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuc-arc-f/aa7b1c1f5e998d67d1db to your computer and use it in GitHub Desktop.
Save kuc-arc-f/aa7b1c1f5e998d67d1db to your computer and use it in GitHub Desktop.
function load_sound( items )
{
if((items ==null) || (items.length < 1))
{
return;
}
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