I want to show a pdf file inside the webpage, using Clojurescript. These are what I've tried but it does not show anything.
[:embed {:src "demo.pdf"
:type "application/pdf"
:width "500px"
:height "400px"}]
or
[:object {:data "demo.pdf"
:type "application/pdf"
:width "500px"
:height "400px"}]
Can anyone help me with that? Thank you!