VideoPress: make video dashboard works with private media endpoint
The VideoPress video dashboard uses the core /media endpoint to list and search videos, but it does an unauthenticated request to it.
Some users may want to turn the core /media endpoint private to prevent their videos from being listed by non-logged-in people. In this case, the VideoPress dashboard will not work properly.
We may need to investigate if it's possible to perform an authenticated request so even these users with private /media endpoints could use the VideoPress dashboard.
I found a strange behavior that seems buggy and might be related to video privacy configurations. I documented it on this issue, and I am commenting since I think the bugs could be associated. In summary, some videos marked as private on the Calypso media tab are still playable for logged-out users on an automatically created page on {yoursite}.com/{video-file-name}-mp4 but once you install the VideoPress plugin (not installed by default), the videos are not playable anymore on those pages (as they should be).
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.