Widget:Google Viewer
Z Multimediaexpo.cz
(Rozdíly mezi verzemi)
m (1 revizi) |
(+ TEST...TEST) |
||
| Řádka 26: | Řádka 26: | ||
* '''height''' and '''width''' define view dimensions, 600x780px is default | * '''height''' and '''width''' define view dimensions, 600x780px is default | ||
| - | </noinclude><includeonly><iframe src=" | + | </noinclude><includeonly><iframe src="//docs.google.com/viewer?url=<!--{$url|escape:'urlpathinfo'}-->&embedded=true" style="border:none;" width="<!--{$width|escape:'html'|default:'600'}-->" height="<!--{$height|escape:'html'|default:'780'}-->"></iframe></includeonly> |
Verze z 4. 3. 2017, 13:52
This widget allows you to add Google Viewer widget to your wiki page.
Google Viewer supports over 15 different file types including:
- Microsoft Word (.DOC and .DOCX)
- Microsoft Excel (.XLS and .XLSX)
- Microsoft PowerPoint (.PPT and .PPTX)
- Adobe Portable Document Format (.PDF)
- Apple Pages (.PAGES)
- Adobe Illustrator (.AI)
- Adobe Photoshop (.PSD)
- Tagged Image File Format (.TIFF)
- Autodesk AutoCad (.DXF)
- Scalable Vector Graphics (.SVG)
- PostScript (.EPS, .PS)
- TrueType (.TTF)
- XML Paper Specification (.XPS)
- Archive file types (.ZIP and .RAR)
To insert this widget, use the following code:
{{#Widget:Google Viewer|url=}}
Parametry
- url – URL of the file to display
- height and width define view dimensions, 600x780px is default
