title: Using variables in Javascript objects
body: <p>I want to use a variable that I define before in an object.
  I have the following code:</p>
  
  <pre><code>&lt;object type="application/x-shockwave-flash" height="378" width="800" data="//www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" bgcolor="#000000"&gt;
      &lt;param name="allowFullScreen" value="false" /&gt;
      &lt;param name="allowScriptAccess" value="always" /&gt;
      &lt;param name="allowNetworking" value="all" /&gt;
      &lt;param name="movie" value="//www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" /&gt;
      &lt;param name="flashvars" value="channel=" + user_channelname + "&amp;auto_play=true&amp;start_volume=25" /&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>I basically want to insert <code>user_channelname</code> as the value for the <code>"channel="</code></p>