VideoPress: Private videos do not display anything when rendered for email
When VideoPress videos are rendered on email (see D126650-code), there is no distinction for public and private videos. When the video is private, its poster image is also private and the email client fails to load it due to a 403 response. This makes the video end up being rendered as an empty space:
We need to check if the video is private and, if so, display something else instead. Either a static placeholder or a simple text link.
📌 REPRODUCTION RESULTS – Tested on Atomic – Could Not Replicate
📌 FINDINGS/SCREENSHOTS/VIDEO On my test site, I've created a test subscription and published a post with a private VideoPress video: https://premiumplantest2.wordpress.com/2023/11/27/videopress-block-test/
I've received an email notification in which I was able to see the thumbnail of the private video:
📌 ACTIONS – Requested author feedback
📌 Message to Author Hey @dhasilva! Are you able to consistently reproduce this on a test site or on a customer's site?
This issue has been marked as stale. This happened because:
- It has been inactive for the past 6 months.
- It hasn’t been labeled `[Pri] BLOCKER`, `[Pri] High`, `[Type] Feature Request`, `[Type] Enhancement`, `[Type] Janitorial`, `Good For Community`, `[Type] Good First Bug`, etc.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.