multimedia inclusion added to the wiki
Dear list, just in case it might help, I have just added a new wiki article about how to add multimedia in PDF documents. https://wiki.contextgarden.net/Multimedia_Inclusion I hope it helps, Pablo
Hi Pablo, Thank you for the article on the wiki. It will be very useful ! Best regards: Otared
On 16 Jan 2023, at 19:00, Pablo Rodriguez via ntg-context
wrote: Dear list,
just in case it might help, I have just added a new wiki article about how to add multimedia in PDF documents.
https://wiki.contextgarden.net/Multimedia_Inclusion
I hope it helps,
Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________
Pablo, thanks for this nice article! Willi
On 16 Jan 2023, at 19:00, Pablo Rodriguez via ntg-context
wrote: Dear list,
just in case it might help, I have just added a new wiki article about how to add multimedia in PDF documents.
https://wiki.contextgarden.net/Multimedia_Inclusion
I hope it helps,
Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________
On Mon, 16 Jan 2023 19:00:06 +0100
Pablo Rodriguez via ntg-context
Dear list,
just in case it might help, I have just added a new wiki article about how to add multimedia in PDF documents.
https://wiki.contextgarden.net/Multimedia_Inclusion
I hope it helps,
Pablo
Pablo, Thank you - this is indeed helpful. I have two questions: \userendering[key-name][video/mp4][video.mp4] [embed=yes, auto] It was my understanding that the mix of key=value with (single) option in the same comma-separated list does not work. Would someone clarify this? Secondly, I would have thought that embed=yes would include the multimedia file in the PDF stream. However, The resulting PDF document requires a video.mp4 file on the same directory as your ConTeXt source file. This should probably say "in the same directory as the PDF file", but is that true, or does it get embedded? Alan
On 1/18/23 17:45, Alan Braslau via ntg-context wrote:
[...] Thank you - this is indeed helpful.
Hi Alan, many thanks for the kind words (also to Otared and Willi).
I have two questions:
\userendering[key-name][video/mp4][video.mp4] [embed=yes, auto]
It was my understanding that the mix of key=value with (single) option in the same comma-separated list does not work. Would someone clarify this?
This is the first time read something like that. I don’t know whether something like this exists. https://wiki.contextgarden.net/Multimedia_Inclusion#Including_Video contains a sample with both keys. Using the improved lpdf-wid.lmt included in https://mailman.ntg.nl/pipermail/ntg-context/2023/107599.html, both keys work.
Secondly, I would have thought that embed=yes would include the multimedia file in the PDF stream. However,
The resulting PDF document requires a video.mp4 file on the same directory as your ConTeXt source file.
This should probably say "in the same directory as the PDF file", but is that true, or does it get embedded?
Sorry for the poor wording, it gets embedded. The source requires it for generation (for the file to be embedded in the resulting PDF document). I hope the new version is clearer now. Many thanks for your help, Pablo
participants (4)
-
Alan Braslau
-
Otared Kavian
-
Pablo Rodriguez
-
Willi Egger