message: Fix file-share-button embeds
diff: @@ -51,11 +51,49 @@ export default Component.extend(Analytics, {
  }),
  shareiFrameDynamic: computed('mfrUrl', function() {
  - return htmlSafe(`<style>.embed-responsive{position:relative;height:100%;}.embed-responsive iframe{position:absolute;height:100%;}</style><script>window.jQuery || document.write('<script src="//code.jquery.com/jquery-1.11.2.min.js">\x3C/script>') </script><link href="https://mfr.osf.io/static/css/mfr.css" media="all" rel="stylesheet"><div id="mfrIframe" class="mfr mfr-file"></div><script src="https://mfr.osf.io/static/js/mfr.js"></script> <script>var mfrRender = new mfr.Render("mfrIframe", "${this.get('mfrUrl')}");</script>`);
  + return htmlSafe(`
  + <style>
  + .embed-responsive {
  + position:relative;
  + height:100%;
  + }
  + .embed-responsive iframe {
  + position:absolute;
  + height:100%;
  + }
  + </style>
  + <link href="https://mfr.osf.io/static/css/mfr.css" media="all" rel="stylesheet">
  + <div id="mfrIframe" class="mfr mfr-file"></div>
  + <script src="https://mfr.osf.io/static/js/mfr.js"></script>
  + <script>
  + function renderMfr() {
  + var mfrRender = new mfr.Render("mfrIframe", "${this.get('mfrUrl')}");
  + }
  + if (window.jQuery) {
  + renderMfr();
  + } else {
  + var jq = document.createElement('script');
  + document.head.appendChild(jq);
  + jq.onload = function() {
  + renderMfr();
  + }
  + jq.src = 'http://code.jquery.com/jquery-1.11.2.min.js';
  + }
  + </script>
  + `.trim().replace(/^\s{12}/mg, ''));
  }),
  shareiFrameDirect: computed('mfrUrl', function() {
  - return htmlSafe(`<iframe src="${this.get('mfrUrl')}" width="100%" scrolling="yes" height="677px" marginheight="0" frameborder="0" allowfullscreen webkitallowfullscreen>`);
  + return htmlSafe(`
  + <iframe src="${this.get('mfrUrl')}"
  + width="100%"
  + scrolling="yes"
  + height="677px"
  + marginheight="0"
  + frameborder="0"
  + allowfullscreen
  + webkitallowfullscreen>
  + `.trim().replace(/^\s{12}/mg, ''));
  }),
  actions: {
  