title: Magnific Popup TypeError: embedSrc is undefined
body: <p>I've searched and searched without fixing my issue. I am receiving the type error embedSrc is undefined.</p>
  
  <ol>
  <li>I've updated jQuery to the latest version</li>
  <li>Checked that the correct src https is being used</li>
  <li>Also running on a server</li>
  </ol>
  
  <p>Still seeing a blank page modal and the iframe isn't loading?</p>
  
  <p>I've tested the script using the type: inline; and am able to get the modals opening, it seems this is purely a iframe issue?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> /*
    * INCLUDE THE MARKUP FOR VIDEO POPUP
    */
   $('.video').magnificPopup({
     type: 'iframe',
     iframe: {
       markup: '&lt;div class="mfp-iframe-scaler"&gt;' +
         '&lt;div class="mfp-close"&gt;&lt;/div&gt;' +
         '&lt;iframe class="mfp-iframe" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen&gt;&lt;/iframe&gt;' +
         '&lt;/div&gt;'
     }
   });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>ul,
  li {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  li a {
    width: 23%;
    margin: 1%;
    height: 180px;
    float: left;
    background: grey;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/0.9.9/magnific-popup.css" rel="stylesheet"&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/0.9.9/jquery.magnific-popup.min.js"&gt;&lt;/script&gt;
  
  
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;ul class="uk2 video clearfix"&gt;
    &lt;li&gt;
      &lt;a href="https://www.youtube.com/watch?v=AHoekYrbde8" class="video" data-title="Build Your Business With UK2"&gt;
   &lt;img src="&lt;?php echo HOST ?&gt;/includes/images/videos/uk2/build-your-business.jpg"&gt;
  &lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href="https://www.youtube.com/watch?v=cyIqG-TiNNA" class="video" data-title="How To Land A .London"&gt;
   &lt;img src="&lt;?php echo HOST ?&gt;/includes/images/videos/uk2/how-to-land-london.jpg"&gt;
   &lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href="https://www.youtube.com/watch?v=iDZeTAu0z0k" class="video" data-title="What To Do With Your Domain"&gt;
   &lt;img src="&lt;?php echo HOST ?&gt;/includes/images/videos/uk2/what-to-do-with-your-domain.jpg"&gt;
  &lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href="https://www.youtube.com/watch?v=4_zsykAVvGU" class="video" data-title=".UK From UK2"&gt;
   &lt;img src="&lt;?php echo HOST ?&gt;/includes/images/videos/uk2/uk-from-uk2.jpg"&gt;
  &lt;/a&gt;
    &lt;/li&gt;</code></pre>
  </div>
  </div>
  </p>