title: How to show advertisment in embedded video in jsp
body: <p>I have created an embedded video like this:</p>
  
  <pre><code>&lt;object id="add" width="425" height="350" &gt; 
  &lt;param name="movie" value="https://www.youtube.com/v/V7g4e5m5aRc&amp;autoplay=1" /&gt; 
  &lt;embed src="https://www.youtube.com/v/V7g4e5m5aRc" type="application/x-shockwave-flash" width="250" height="250" autostart="false"/&gt; 
  &lt;/object&gt; 
  </code></pre>
  
  <p>It plays video very smoothly, but I want to play a fixed <strong>advertisement video (same as given example but different src)</strong>   before the video plays, just like on YouTube.</p>