Given the fact that you are using <embed> tags in your code, it seems you are not using swfobject as part of your solution.
Even if you were using swfobject, your question is really php related. Wrong forum perhaps? On Mon, Apr 11, 2011 at 12:11 PM, ktom <[email protected]> wrote: > I have 2 mp3 files to play; I pass which one by url as it is clicked; > send htm file and receive file is php; I get the selected index from > send file to receive file. > Problem: When this variable is substitued in > <embed type="application/x-shockwave-flash" src="http://www.google.com/ > reader/ui/3523697345-audio-player.swf" > > flashvars="audioUrl=http://www.this.com/file1.mp3&autoPlay=true" > LOOP="true" width="400" height="27" allowscriptaccess="never" > pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> > > ... this static works fine; > > I have following in a variable $song > > $song=" \"audioUrl=http://www.this.com/file1.mp3&autoPlay=true\" "; > > > flashvars="<?php $song ?> LOOP="true" width="400" height="27" > allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/ > getflashplayer"></embed> > > This variable within php fails to load. > > Any help > > -- > 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. > > -- 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.
