title: "VIDEOJS: WARN: Player "media" is already initialized" when it is not
body: <p>I currently experience a small issue where I receive a warning from video.js which is as following:</p>
  
  <pre><code>VIDEOJS: WARN: Player "media" is already initialized. Options will not be applied.
  </code></pre>
  
  <p>The bizarre thing is that it has not been initialized. But rather it is within a jQuery's <code>$(document).ready</code>.</p>
  
  <p>The relevant code is:</p>
  
  <pre><code>&lt;script src="//vjs.zencdn.net/5.19.1/video.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
      $(document).ready(function() {
          var player = videojs('media', {
              fluid: true,
              playbackRates: [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2]
          });
      });
  &lt;script&gt;
  </code></pre>
  
  <p>It know it has something to do with when how fast these resources get loaded, because every now and then the warning will not appear and the options are applied.</p>
  
  <p>I do need this the player initialized once the "document is ready", though. How can I go about this issue? </p>
  
  <p>Any help I would greatly appreciate!</p>