Kozea / WeasyPrint

The awesome document factory
https://weasyprint.org
BSD 3-Clause "New" or "Revised" License
7.16k stars 680 forks source link

Support embedding video #1732

Open alstrup opened 2 years ago

alstrup commented 2 years ago

It would be great if <video> HTML tags became rich media tags for embedding videos in the PDFs.

I think video support is an Adobe Extension to the PDF standard, but it seems to be supported by most readers.

It seems to be covered in section 13.2 in this document:

https://opensource.adobe.com/dc-acrobat-sdk-docs/standards/pdfstandards/pdf/PDF32000_2008.pdf

A brief look makes it look like it is very similar to images, so it might be easy to support.

liZe commented 2 years ago

Hi!

It could be useful to support embedded videos, if anyone is interested don’t hesitate to add a comment or to open a pull request!