l1xnan / obsidian-better-export-pdf

Obsidian PDF export enhancement plugin
MIT License
313 stars 18 forks source link

Question: How to print the start image of an embeded video #270

Open merlinuwe opened 2 months ago

merlinuwe commented 2 months ago

Thank you again for your great, essential plugin which I often use. ;-)

When I want to print the start image an embeded video, there is no output.

The side looks rendered as so:

image

Printed:

image

Markdown:

---
aliases: eins
---

Python: Film 7: type-casting in Python (14:07).

<iframe width="560" height="315" src="https://www.youtube.com/embed/u_ECGvn1Z2c?si=GaML67idFSvWc4tG" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Do you have an idea?

l1xnan commented 1 month ago

There is no easy way to solve this problem, you can currently add an image/text link to the video, set the CSS style, and only display it when printing, to alleviate the problem.