I'm currently trying to display a modal bootstrap in which I want to include a PDF file with an html object tag. The problem is that nothing is displayed.
I created jsFiddle ( http://jsfiddle.net/mV6jJ/3/ ).
So, you will find the base modal (exactly the same code from the boot for the basic modal display after clicking the button), and in the modal body you will find:
<object type="application/pdf" data="http://www.inkwelleditorial.com/pdfSample.pdf" width="500" height="500">this is not working as expected</object>
Therefore, when I add this code alone (so not in the bootstrap module), it works as expected. It displays pdf in the default PDF viewer of the browser. But when I try to embed the PDF inside the boot mod, nothing appears.
If you have any ideas, this will really help me, many hours searching, and I saw solutions with a tag (which I do not want to use).
Thanks and best regards
javascript jquery html css twitter-bootstrap
Tidus
source share