0

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

Edited by __avd: Added [code] tags. For easy readability, always wrap programming code within posts in [code] (code blocks).

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by __avd
1
<script type="text/javascript">      
       
   var so = new SWFObject("<%= Request["qry_string_key"] %>', "mymovie", "192", "67", "7", "#FFFFFF");
 ....
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.