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