In that case, use the older Screen/Rendition annotation type - it allows for external players.
-----Original Message----- From: Marc Campforts [mailto:marc.campfo...@4st.be] Sent: Friday, October 24, 2014 10:55 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Link annotation to a file attachment Playing the video outside of the PDF. In the default video player for your computer. On 24/10/2014 16:24, Leonard Rosenthol wrote: > What behavior do you mean? > > -----Original Message----- > From: Marc Campforts [mailto:marc.campfo...@4st.be] > Sent: Friday, October 24, 2014 3:39 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Link annotation to a file attachment > > But I want the same behavior as a file attachment but with a click on an > image. Is that possible? > > Regards, > Marc > On 23/10/2014 15:10, Leonard Rosenthol wrote: >> For that - the best way to do it is to have a RichMedia annotation >> (for the video) and then have Actions on your link that play/stop the video. >> Very common operations. >> >> Leonard >> >> On 10/23/14, 7:11 AM, "Marc Campforts" <marc.campfo...@4st.be> wrote: >> >>> On 17/10/2014 14:27, iText mailing list wrote: >>>> On 10/17/2014 12:00 PM, Marc Campforts wrote: >>>>> Hello, >>>>> >>>>> Can I create a link annotation (7.3.2 in Itext in Action) to a >>>>> file attachment( 7.3.3 in Itext in Action)? >>>> >>>> That is explained in section 16.2.4 of the same book. You need the >>>> gotoEmbedded() method. As defined in ISO-32000-1, this will only >>>> work for embedded PDF files, not for other types of attachments. >>>> >>> So this only works for embedded PDF Files. What about an embedded >>> .mpeg file? I want to play the embedded movie when clicking on an image. >>> >>>> >>>> ------------------------------------------------------------------- >>>> - >>>> ----- >>>> ----- >>>> Comprehensive Server Monitoring with Site24x7. >>>> Monitor 10 servers for $9/Month. >>>> Get alerted through email, SMS, voice calls or mobile push >>>> notifications. >>>> Take corrective actions from your mobile device. >>>> http://p.sf.net/sfu/Zoho >>>> _______________________________________________ >>>> iText-questions mailing list >>>> iText-questions@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/itext-questions >>>> >>>> iText(R) is a registered trademark of 1T3XT BVBA. >>>> Many questions posted to this list can (and will) be answered with >>>> a reference to the iText book: http://www.itextpdf.com/book/ Please >>>> check the keywords list before you ask for examples: >>>> http://itextpdf.com/themes/keywords.php >>>> > > > > ---------------------------------------------------------------------- > -------- _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ Please > check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > > ---------------------------------------------------------------------- > -------- _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ Please > check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php