Thanks for always being supportive. I have come across an issue. I have some study materials(.PDF) embedded into my webpage . Not in the
<iframe> but a customized class for PDF viewing for security purpose. Now the problem here is that I can view the PDF's in Firefox and Chrome but not on Microsoft Edge or Internet Explorer 11. What could be the possible reason for this. My website is live on server and I came up to know this when the candidates couldn't read files.
Here is my code for displaying on my page,
<div id="viewer" class="pdf-viewer" oncontextmenu="return false" data-url="../sadmin/studyMaterial/<?php echo $db->idToField("tbl_studymaterials", "file_pdf", $chapterId) ; ?>"></div>
And the pdf-viewer class,
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
I would like to repeat here, I can view files properly in Firefox and Chrome but not in MS Edge and Internet Explorer 11. Any help would be really helpful and highly appreciated.