title: Safari ignores window.matchMedia
body: <p>I'm using <code>window.matchMedia</code> conditional in order to avoid the inject of a video in mobile devices. <a href="http://caniuse.com/#feat=matchmedia" rel="nofollow noreferrer">CanIUse</a> reports that <code>matchMedia</code> is going to work smoothly since Safari 9 (I'm testing on it), but my code is completely ignored:</p>
  <pre><code>if ( window.matchMedia(&quot;(min-width: 1025px&quot;).matches) {
     console.log('match');
  
     document.addEventListener(&quot;DOMContentLoaded&quot;, function() { initialiseMediaPlayer(); }, false);
  
     function initialiseMediaPlayer() {
  
        (stuff here...)
  
     }
  
  }
  </code></pre>
  <p>This code works perfectly on Chrome, Chromium, Firefox, IE and Edge.</p>
  <p>Does anyone had a similar issue?</p>