I use
<object>
to insert a pdf file on my website. eg.
<object data="abc.pdf" type="application/pdf"> <embed src="abc.pdf" type="application/pdf" /> </object>
It works on all desktop browsers, but it shows nothing on my Android device. Besides using google pdf viewer (as it significantly reduces pdf quality), is there any way to support all browsers of ios / android devices? Or what is the best way to handle this situation? Since there are many browsers, how can I redirect them to the pdf browser plugin download page, or should I just tell them to get them? (Less convenient). Thanks
source share