title: Mixed content warnings coming from mediaelement.js swf
body: <p>I'm working on a video player that is running in an https environment and I'm getting mixed content warnings from the mediaelement.js swf, flashmediaelement.swf.</p>
  
  <p>The playback url that I'm using is an https url (<a href="https://www.youtube.com/watch?v=8Q2P4LjuVA8" rel="nofollow">https://www.youtube.com/watch?v=8Q2P4LjuVA8</a>), but it seems that the media element swf is ignoring the protocol of the url and making a request to get the http version.</p>
  
  <p>This is the embed tag that gets dropped on the page (notice that the file param in flashVars is https):</p>
  
  <pre><code>&lt;embed secure="true" id="me_flash_0" name="me_flash_0" play="true" loop="false" 
         quality="high" bgcolor="#000000" wmode="transparent" allowscriptaccess="always" 
         allowfullscreen="true" type="application/x-shockwave-flash" 
         pluginspage="//www.macromedia.com/go/getflashplayer" 
         src="/assets/flashmediaelement.swf"
         flashvars="id=me_flash_0&amp;amp;isvideo=true&amp;amp;autoplay=false&amp;amp;preload=none&amp;amp;width=2844&amp;amp;startvolume=0.8&amp;amp;timerrate=250&amp;amp;flashstreamer=&amp;amp;height=921&amp;amp;file=https://www.youtube.com%2Fwatch%3Fv%3D8Q2P4LjuVA8" 
         width="2844" height="921"&gt;
  </code></pre>
  
  <p>For reference, I'm running Chrome and using version 2.9.5 of mediaelement.js. </p>
  
  <p>Any ideas as to why I'm getting mixed content warnings in the browser would be greatly appreciated. Many thanks.</p>