Widget:Acrobat: Difference between revisions

Content deleted Content added
Created page with "<noinclude> Widget for displaying office PDFs with the use of Adobe PDF embed API. The files must be open to the public ==שימוש== <nowiki>{{#widget:Acrobat|file=full path..."
 
No edit summary
 
Line 8: Line 8:
<script type="text/javascript">
<script type="text/javascript">
document.addEventListener("adobe_dc_view_sdk.ready", function(){
document.addEventListener("adobe_dc_view_sdk.ready", function(){
var adobeDCView = new AdobeDC.View({clientId: "5eca426a0c21459385479311004a2ef9", divId: "adobe-dc-view"});
var adobeDCView = new AdobeDC.View({clientId: "cb0f4c4d0f0f41288cf547c24b47ca1b", divId: "adobe-dc-view"});
adobeDCView.previewFile({
adobeDCView.previewFile({
content:{location: {url: "<!--{$file}-->"}},
content:{location: {url: "<!--{$file}-->"}},

Latest revision as of 09:04, 7 September 2023

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

שימוש

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