Only if you transcode the MOV/MP4 into SWF. That will also give you a LOT more control over the playing of the media as well.
-----Original Message----- From: Michael Brewer-Davis [mailto:[email protected]] Sent: Tuesday, May 04, 2010 9:41 AM To: [email protected] Subject: [iText-questions] embedding MOV/MP4 movies without security warning Is there a way to embed MOV/MP4 files in my document without getting the "yellow bar" security restrictions? I'm not sure why my embedded content isn't already in the trust zone--is it the player that's untrusted? Here's my current approach: PdfFileSpecification fs = PdfFileSpecification.fileEmbedded(writer, animation.getFile().getAbsolutePath(), animation.getName(), null); writer.addAnnotation(PdfAnnotation.createScreen(writer, bounds, animation.getName(), fs, mimeType, true)); In Adobe Reader 7, this "just works"--the movie plays in its entirety when the file is opened, as requested. In Adobe Reader 9: - the yellow security bar comes up: "Some features have been disabled..." - when I select "Options/Trust this document" (one time or always), the yellow bar is dismissed but the movie does not automatically begin playing. - when I click on the movie area (which is still shown as blank), the movie begins. (On some computers, Reader crashes at this point, but I'm assuming that's a separate issue related to available codecs rather than security?) Thanks for any pointers, michael ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
