I have a flash player on my site that uses SWFObject, used to embed an
MP3 stream from my shoutcast server, and theres a setting in there:
var ln= 'stream.mp3';

Here's the full code:
var actualurl =
window.location.hostname;if(actualurl.indexOf("wnolfm.com") == -1)
{document.write("This Flash Player may only be used on 'mysite'");}
else{document.write('<div id="playercontainer12605679082"><a
href="http://www.adobe.com/shockwave/download/download.cgi?
P1_Prod_Version=ShockwaveFlash">Get&nbsp;Flash</a></div>');                     
                var
head = window.document.getElementsByTagName("head")[0];    var script
= null;                 script = window.document.createElement("script");
script.type = "text/javascript";    script.src = "http://
ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js?" + new
Date().getTime();    head.appendChild(script);          script.onload =
script.onreadystatechange = function(){ swfObjectLoaded(); };function
swfObjectLoaded() {if (swfobject.hasFlashPlayerVersion("9")) {var fn =
'&12605679082';var x = '8000';var y = 'mysite';var ln =
'stream.mp3';      var flashvars =      {                               
'skin':'mysite/
kleur.swf',        'title':'Live Stream',
'type':'sound',         'file':'http://'+y+':'+x+'/;'+ln+fn,
'duration':'99999',        'id':'scplayer',
'autostart':'true'      };      var params =
{        'allowfullscreen':    'false',        'allowscriptaccess':
'always',        'bgcolor':            '#FFFFFF',               'wmode':
'transparent'      };      var attributes =
{        'id':                 'scplayer',
'name':               'scplayer'      };
swfobject.embedSWF('mysite/player2.swf', 'playercontainer12605679082',
'340', '55', '9.0.124', false, flashvars, params, attributes);}}}

Does the var ln support AAC+? and how would I go about putting that in
the above script?

Not sure if that has to do anything with your script, but it looks
like all of the variables that SWFobject calls for.

Thanks,

Nolan

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to