I realised there is a HTML5 way of embeding PDFs :
<object data="my-pdf.pdf" type="application/pdf" width="100%" height="500">
<p>It appears you don't have a PDF plugin for this browser.
You can <a href="my-pdf.pdf">click here to
download the PDF file.</a></p>
</object>
This will use the default PDF player of your browser.
PDFJS is the technology used as the default PDF viewer on Firefox :
http://mozilla.github.io/pdf.js/web/viewer.htmlThis is also the viewer used on OpenEdX for the TextBook.
So it could be nice to have a XBlock, to avoid HTML, as many people are afraid of the raw HTML editor of OpenEdX. I will see if it something that is useful in my case, I'll try to make an XBlock if it is worth it.