Code 1: http://lad.gov.lv/js/jquery.fancybox-1.3.4.pack.js:
if (d.type == "iframe")
b('<iframe id="fancybox-frame" name="fancybox-frame' + (new Date).getTime() + '" frameborder="0" hspace="0" ' + (b.browser.msie ? 'allowtransparency="true""' : "") + ' scrolling="' + e.scrolling + '" src="' + d.href + '"></iframe>').appendTo(j);
Code 2: latest jquery.fancybox.js:
iframe : '<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen' + (IE ? ' allowtransparency="true"' : '') + '></iframe>',
Query(document).ready(function ($) {
$(".fancybox").fancybox({
type : "iframe",
onComplete : function () {
$("#fancybox-frame").attr("allowfullscreen", "allowfullscreen")
}
});
}); // readyallowfullscreen" in the iframe after it load in new microsoft edge browser, still
it is not working.
Can you please suggest the other option for full screen button that works in microsoft edge browser. Plz reply soon.
I am using the Modal popup and using the below code for iframe in the popup
<iframe id="frame1" width="100%" height="550" src="http://online.fliphtml5.com/bjrh/brtw/" frameborder="no" scrolling="no" allowfullscreen="" ></iframe>
It shows bellow error when we click on full screen button in the popup in microsoft edge browser,
"Object doesn't support property or method 'RequestFullScreen'" in the
http://static.fliphtml5.com/book/template/Clear/javascript/main.js