title: How to set the start position for a video using AxShockwaveFlash (revised)
body: <p>Revised question with added detail... </p>
  
  <p>I'm trying to use AxShockwaveFlash to play a youtube video and start it at a specific location. This is within a C# winforms app. I have the basics. I can successfully start and stop the video. I cannot, however, figure out how to set the position and <em>start at a specific time</em> within the video. What property or method needs to be called to do this?</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code> AxShockwaveFlashObjects.AxShockwaveFlash mFlashPlayer;
   ...
   mFlashPlayer.Movie = @"http://www.youtube.com/v/9O9HfafzBPE?version=3&amp;hl=ru_RU";
   mFlashPlayer.Play();
  </code></pre>
  
  <p>I've tried setting various properties and calling various methods, but I'm just guessing. For example, I tried calling</p>
  
  <pre><code> mFlashPlayer.GotoFrame(200);
  </code></pre>
  
  <p>and it did nothing. Seems so simple, I'm starting to wonder if I'm encountering a bug. ?</p>
  
  <p>I also tried using the standard form when using a web browser, which is to encode it directly in the url. For example, the following did not work either:</p>
  
  <pre><code> mFlashPlayer.Movie = @"http ...blah... #t=77s";
   mFlashPlayer.Play();
  </code></pre>
  
  <p>Thanks in advance for any suggestions.</p>
  
  <p><strong>ANSWER</strong></p>
  
  <p>Apparently, I'm not authorized to post an answer, so I'm editing the question and adding it here...</p>
  
  <p><strong>Got it!</strong> The magic trick is to set the 'start' parameter in the url that you provide to the Movie property or the LoadMovie() method.</p>
  
  <pre><code>Embedded AS3 player:
  http://www.youtube.com/v/VIDEO_ID?version=3&amp;start=NUMBER_SECONDS
  
  Chromeless AS3 player:
  http://www.youtube.com/apiplayer?video_id=VIDEO_ID&amp;version=3&amp;start=NUMBER_SECONDS
  </code></pre>
  
  <p>Replace VIDEO_ID and NUMBER_SECONDS with the desired values.</p>
  
  <p><strong>Example:</strong></p>
  
  <pre><code>mFlashPlayer.Movie = @"http://www.youtube.com/v/1ZKz2KW87Y4?version=3&amp;start=100";
  </code></pre>
  
  <p>I found the required info here: 
   <a href="http://developers.google.com/youtube/player_parameters" rel="nofollow">https://developers.google.com/youtube/player_parameters</a></p>
  
  <p>That was one of the more frustrating hunts for info that I've been on in a while. Hope this post saves other folks the headaches.</p>