title: Change embedded youtube address in a UIWebView
body: <p>I have an app that I'm trying to allow users to choose which youTube movie they play. I have a UIWebView with an embedded url, but I want that embedded code to able to change.</p>
  
  <p>So far, I can't get this to change. This current setup only shows a blank white screen. When I put youtubeURL in place of the @ it works fine, but not changeable. Any ideas how to change the URL? I have it setup so they can type a url that gets saved as youtubeURL, and that is the URL I want the UIWebView to show. </p>
  
  <p>In my viewDidLoad:</p>
  
  <pre><code>youtubeURL = @"http://www.youtube.com/watch?v=HQ7R_buZPSo";
  </code></pre>
  
  <p>In my playMovie triggered by a button:</p>
  
  <pre><code> NSString* html = [NSString stringWithFormat:@"\
                        &lt;html&gt;&lt;head&gt;\
                        &lt;/head&gt;&lt;body style=\"margin:0\"&gt;\
                        &lt;embed id=\"yt\" src=\" %@ \" type=\"application/x-shockwave-flash\"\
                        width=\"1024\" height=\"748\"&gt;&lt;/embed&gt;\
                        &lt;/body&gt;&lt;/html&gt;", youtubeURL];
  
      [self.view addSubview:youTubeView];
      [youTubeView loadHTMLString:html baseURL:nil];
          ...
  </code></pre>
  
  <p>Thanks in advance!</p>