Content deleted Content added
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>" |
No edit summary |
||
| Line 2: | Line 2: | ||
Widget for displaying office PDFs with the use of ViewerJS embed API. The files must be open to the public |
Widget for displaying office PDFs with the use of ViewerJS embed API. The files must be open to the public |
||
===Usage=== |
===Usage=== |
||
<pre>{{#widget: |
<pre>{{#widget:ViewerJs|file=full path to file}}</pre> |
||
===Result=== |
===Result=== |
||
{{#widget: |
{{#widget:ViewerJs|file={{filepath:example.pdf}}|filename=example}} |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
<iframe style="width:100%;height:800px" src="/w/uploads/ViewerJS/index.html#<!--{$file}-->"></iframe> |
<iframe style="width:100%;height:800px" src="/w/uploads/ViewerJS/index.html#<!--{$file}-->"></iframe> |
||
Latest revision as of 20:49, 22 September 2024
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