Re: [Tiki-devel] Does anyone knows a trick to display a PDF document from a google drive on a Wiki page ?
Bernard Sfez via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Yes this work. But this is “displaying” a PDF from the same Tiki file gallery. What I was looking for is to display a PDF from an external Google drive. B > On 15 Feb 2022, at 12:55, Jonny Bradley via TikiWiki-devel <[email protected]> wrote: > > Curious, i think it should work (it used to) > > Like this? (the type=pdf is important) > > {mediaplayer src="display42" type="pdf"} > > It needs the pdf.js package installed and unfortunately that's totally borken on macOS in 24.x currently (it can't find php any more since it stopped using `which php` and no time to fill a bug report...) > > jb > > > > >> On 14 Feb 2022, at 17:15, Bernard Sfez via TikiWiki-devel <[email protected]> wrote: >> >> Thanks Rick, >> >> For sure that’s one way to do it I didn’t thought about >> I guess I will keep my feature request. ;-) >> >> Bernard >> >>> On 14 Feb 2022, at 18:47, Rick Sapir <[email protected]> wrote: >>> >>> I use the IFRAME plugin (and I guess the HTML plugin will work, too). Something like: >>> >>> {IFRAME( width="480" height="640" src="https://drive.google.com/file/d/<YOUR ACTUAL DOCUMENT URL>/preview")}{IFRAME} >>> >>> should work >>> >>> -R >>> >>> Rick Sapir >>> >>> ricksapir.com >>> >>> @ricksapir >>> >>> Creating Content -- Managing Information >>> >>> On 2/14/2022 11:00 AM, Bernard Sfez via TikiWiki-devel wrote: >>>> Helas no, I tried in any ways and at best the PDF code is displayed: >>>> >>>> <Screen%20Shot%202022-02-10%20at%207.51.50.jpg> >>>> >>>>> On 14 Feb 2022, at 15:22, Jonny Bradley via TikiWiki-devel <[email protected]> wrote: >>>>> >>>>> Hi B >>>>> >>>>> Won't https://doc.tiki.org/PluginMediaPlayer#pluginmediaplayerhtml do that for you? >>>>> >>>>> jb >>>>> >>>>> >>>>> >>>>>> On 14 Feb 2022, at 10:42, Bernard Sfez via TikiWiki-devel <[email protected]> wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> Is it possible to display a PDF document from a google drive on a Wiki page ? >>>>>> >>>>>> I added a feature request on the tracker5 but then wondered that may be I missed an option or a trick to do this. >>>>>> >>>>>> https://dev.tiki.org/item8079-Wikiplugin-mediaplayer-webdocviewer-googleDoc-Allow-to-display-a-PDF-document-from-a-google-drive >>>>>> >>>>>> Any ideas ? >>>>>> >>>>>> Bernard >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> TikiWiki-devel mailing list >>>> >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >>> _______________________________________________ >>> TikiWiki-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> _______________________________________________ >> TikiWiki-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > > > > _______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel