Loading...
 
Skip to main content

History: PluginWebDocViewer

Source of version: 14

Copy to clipboard
            ! PluginWebDocViewer
New ((Wiki plugin)) introduced in ((Tiki12)) to allow displaying many types of documents online, embedded in your Tiki pages.

Supported file types:
* Image files (.JPEG, .PNG, .GIF, .TIFF, .BMP)
* Raw Image formats
* Video files (WebM, .MPEG4, .3GPP, .MOV, .AVI, .MPEGPS, .WMV, .FLV, .ogg)
* Microsoft Word (.DOC and .DOCX)
* Microsoft Excel (.XLS and .XLSX)
* Microsoft PowerPoint (.PPT and .PPTX)
* Adobe Portable Document Format (.PDF)
* Tagged Image File Format (.TIFF)
* Scalable Vector Graphics (.SVG)
* PostScript (.EPS, .PS)
* TrueType (.TTF)
* XML Paper Specification (.XPS)
* Google Docs
* Google Sheets
* Google Slides
* Google Forms
* Google Drawings

See also the "Support File Types" at https://support.google.com/drive/answer/2423485

!! Overview
{kaltura id="1_8rqg9q99"}

!! Parameters
__FileId__
Enter the FileId of a file in a Tiki File Gallery

__URL__
Enter a URL of a file from an external domain

__Height__
The height of the embed area

__Width__
The width of the embed area

{PLUGINMANAGER(plugin=webdocviewer singletitle=none) /}
Note : For a full list of supported file types please visit [https://support.google.com/drive/answer/2423485?p=docs_viewer&rd=1]

!! Example
To add a preview of a document in a wiki page, forum post, blog post, use the WEBDOCVIEWER plugin like this:

{CODE(wrap=1)}
{WEBDOCVIEWER(fileId=>1,width=>425,height=>350)}{WEBDOCVIEWER}
{CODE}

{CODE(wrap=1)}
{WEBDOCVIEWER(url=>http://www.ntia.doc.gov/legacy/reports/2010/OSTWG_Final_Report_060410.pdf, width=>425, height=>350)}{WEBDOCVIEWER}
{CODE}

{HTML()}
<iframe src="http://docs.google.com/viewer?url=http://tiki.org/dl178&embedded=true" width="750" height="780" style="border: none;"></iframe>
{HTML}

        

History

Advanced
Information Version
ibrahim mussa 28
ibrahim mussa 27
Bernard Sfez / Tiki Specialist 26
Bernard Sfez / Tiki Specialist Adding tested example using Tiki23 and PDF url parameters, reorganising a bit 25
Yves Kipondo 24
Bernard Sfez / Tiki Specialist 23
Bernard Sfez / Tiki Specialist 22
Bernard Sfez / Tiki Specialist Adding a note until clarification 21
Marc Laporte 20
David Carter 19
WizarDave Added Alternative is MediaPlayer 18
WizarDave created a working example 17
WizarDave commented out html code that wasn't working. Added example of using the plugin. 16
lindon 15
Marc Laporte Cleaner 14
Marc Laporte This likely works the same 13
lindon 12
Xavier de Pedro 11
Xavier de Pedro 10
Pascal St-Jean 9
Pascal St-Jean 8
Pascal St-Jean 7
Pascal St-Jean 6
Pascal St-Jean 5
Pascal St-Jean 4
Pascal St-Jean 3
Pascal St-Jean 2
Pascal St-Jean 1