title: Which code snippet should be used for integrating videojs with amp-video-iframe on amp-story?
body: <p>Should both of these code blocks be used? 
  Should only one code block be used? If so, which one?</p>
  
  <p><a href="https://www.npmjs.com/package/video.js" rel="nofollow noreferrer">code per video.js</a></p>
  
  <pre><code>&lt;video
      id="my-player"
      class="video-js"
      controls
      preload="auto"
      poster="//vjs.zencdn.net/v/oceans.png"
      data-setup='{}'&gt;
    &lt;source src="//vjs.zencdn.net/v/oceans.mp4" type="video/mp4"&gt;&lt;/source&gt;
    &lt;source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm"&gt;&lt;/source&gt;
    &lt;source src="//vjs.zencdn.net/v/oceans.ogv" type="video/ogg"&gt;&lt;/source&gt;
    &lt;p class="vjs-no-js"&gt;
      To view this video please enable JavaScript, and consider upgrading to a
      web browser that
      &lt;a href="http://videojs.com/html5-video-support/" target="_blank"&gt;
        supports HTML5 video
      &lt;/a&gt;
    &lt;/p&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p><a href="https://www.ampproject.org/docs/reference/components/amp-video-iframe" rel="nofollow noreferrer">code per amp-video-iframe</a></p>
  
  <pre><code>function onAmpIntegrationReady(ampIntegration) {
    var myVideo = document.querySelector('#my-video');
    ampIntegration.listenTo('videojs', myVideo);
  }
  </code></pre>