Widget:ViewerJs

Revision as of 20:49, 22 September 2024 by FennecBot (talk | contribs) (Created page with "<noinclude> Widget for displaying office PDFs with the use of ViewerJS embed API. The files must be open to the public ===Usage=== <pre>{{#widget:ViewerJS|file=full path to file}}</pre> ===Result=== {{#widget:ViewerJS|file={{filepath:example.pdf}}|filename=example}} </noinclude><includeonly> <iframe style="width:100%;height:800px" src="/w/uploads/ViewerJS/index.html#<!--{$file}-->"></iframe> </includeonly>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget for displaying office PDFs with the use of ViewerJS embed API. The files must be open to the public

Usage

{{#widget:ViewerJS|file=full path to file}}

Result