Paulo,
Thanks very much for that – only actually just saw your reply!
I’ve done little playing about with this method this morning and there’s a couple of things that I’d like to ask you about. Basically, there was no problem using your example with the mpeg. What I then did was to change it to embed the movie as opposed to just linking to it, as the files we want to distribute would have to be self-contained. This seemed to work, but when I opened it in vanilla Acrobat 6 Pro I got the following error:
Cannot play media clip because there is no player available that can play the media while satisfying the author’s intentions as well as your security settings.
Given that it played fine when it was just annotated and linked I think we can rule out a player error – it seems to be a security problem. Have you any idea what’s caused this and how to get around it?
The second problem I encountered was when embedding Quicktime. This caused an out of memory error – the file was 20megs. When I cut the file down to about 600K it was not a problem at all, except for the above issue with regards playback. Unfortunately I get the feeling that this is not going to be easy to fix but if you have any ideas I’d appreciate it. What about using the “byte[] fileStore” parameter in the fileEmbedded method instead of ‘String filePath’?
Thanks in advance for any assistance you can provide!
Tom
On 9/11/04 5:30 pm, "Paulo Soares" <[EMAIL PROTECTED]> wrote:
In can be done but it requires Acrobat 6. See the example screen_rendition.java at http://itextpdf.sourceforge.net. As usually if there's a need to improve this functionality it will be included in the to-do list.
Best Regards,
Paulo Soares
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Groves
Sent: Tuesday, November 09, 2004 12:56 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Can I embed Movies, Flash, etc using iText?
Hi,
I’m looking into the viability of using iText for a project that we’re doing and, given that I’ve run into this barrier with various other PDF generation libraries and classes, would like to confirm whether iText can handle embedding of ‘New Media’ content.
The PDFs that we’ll generate will need to have the option of having embedded movies (probably Quicktime), flash, sounds, etc. (not all, but possibly any one). We were hoping that we could accomplish this by having these items embedded in a PDF that we import
I have briefly browsed the API reference documentation but could find no reference for movie and flash embedding... :(
So basically, my question is: Is this possible? It would be NICE to do this programmatically, but right now I’m more worried about whether we can even do it at all!
Thanks in advance,
Tom Groves <[EMAIL PROTECTED]>
Senior Digital Media Developer
Omnia FZ LLC
--
