With the release of iText 7.2.2 and pdfOffice 2.0.2, we've resolved an issue affecting the conversion of .docx files containing embedded videos. While previous releases would convert such files without errors, the resulting document would only contain an embedded image of the video's thumbnail.
Now, such conversions will preserve the embedded video's link to the online version in the resulting PDF documents.
Below is a Java example showing how to do this:
You can find the input .docx file and the output PDF file below.