Hi,

> Am 21.09.2016 um 16:23 schrieb Gary Grosso <gary.gro...@oberontech.com>:
> 
> Hi PDFBoxers,
> 
> A customer wants to embed MP4 video in their PDF. (They want to be able to 
> view with an offline iPad.)
> 
> I see info in the cookbook for 1.8 
> (https://pdfbox.apache.org/1.8/cookbook/workingwithattachments.html) and the 
> example at 
> https://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedFiles.java.
>  Also Tilman's reply in 2014:
> 
> ~~~~~~
> Yes, please look at the example
> examples\src\main\java\org\apache\pdfbox\examples\pdmodel\EmbeddedFiles.java
> or
> https://svn.apache.org/repos/asf/pdfbox/branches/1.8/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedFiles.java
> to see how to embed a file. There is no restriction on the type AFAIK.
> 
> Tilman
> ~~~~~~
> 
> My questions are:
> 
> - Is the above info relevant/accurate if using PDFBox 2.0?

it's still relevant. The version for 2.0.3 is at 
https://svn.apache.org/repos/asf/pdfbox/tags/2.0.3/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedFiles.java

BR
Maruan

> 
> - Has anyone had any personal experience with this sort of thing? (We would 
> be post-processing their PDF, which is created elsewhere, to insert the video 
> at a point where we would leave some sort of local-filename marker and 
> sufficient white space.)
> 
> Thanks,
> Gary
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to