hi,
in my application i am using a music player for playing the audio
(premiumbeat.com) royalty music player. Which is working fine when audio file placed directly. But in my application the audio file comes from the other page in a query string how can i write the code for this can u help me please this is my code... (source code)

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    
    <div>  
    <script type="text/javascript" src="swfobject.js"></script>		
<div id="flashPlayer">   
</div>
<script type="text/javascript">      
       
   var so = new SWFObject("playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
   so.addVariable("autoPlay", "no");
   so.addVariable("soundPath","song.mp3");
   so.addVariable("overColor","#000044")
   so.addVariable("playerSkin","1") 
   so.write("flashPlayer");       
    
</script>
    </div>
      
    </form>
</body>
</html>

how can i place the audio file (which is in green color) dynamically which is comes from querstring from the other page. thank you

<script type="text/javascript">      
       
   var so = new SWFObject("<%= Request["qry_string_key"] %>', "mymovie", "192", "67", "7", "#FFFFFF");
 ....
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.