title: Adding Title Overlay to Video.js player
body: <p>I am new to Video.js, but like what I see so far.  One thing I have not seen: How to add a title to the top of the player, which will disappear on play, and reappear on pause.</p>
  
  <p>I can see how to tie an action to these events, and I have read about adding elements to the player.  For instance (this example is only halfway done):</p>
  
  <pre class="lang-js prettyprint-override"><code>var myContainer = videoObj.addChild('button');
  myContainer.addClass("myContainer");
  </code></pre>
  
  <p>which I got from: <a href="https://github.com/videojs/video.js/blob/master/docs/api/vjs.Component.md" rel="nofollow">https://github.com/videojs/video.js/blob/master/docs/api/vjs.Component.md</a> </p>
  
  <p>that snippet adds this code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="vjs-control  myContainer" role="button" aria-live="polite" tabindex="0" style="display: block;"&gt;
  &lt;div class="vjs-control-content"&gt;
  &lt;span class="vjs-control-text"&gt;Need Text&lt;/span&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But what I want is a simple DIV that will have a title, with code like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="myOverlay"&gt;
  &lt;h2&gt;Title of Video&lt;/h2&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Am I barking up the wrong tree here?  Is there a better way to get what I want done?</p>
  
  <p>Thanks in advance,
  Bill</p>