Skip to content

Conversation

@mdkieran
Copy link
Contributor

Link to related issue (if applicable)

#2589
#2501

Summary of proposed changes

Hello Sam, thank you for taking the time to check out this PR.

Currently, plyr can't fetch preview thumbnails when they're stored on a secure CDN. To solve this, we simply need to set withCredentials to true on the xhr request object in the preview-thumbnails plugin.

The solution I've proposed will solve the use cases in the GitHub issues raised above about this. Jadson from issue #2589 did suggest a more elegant solution. However, as this codebase is using a custom fetch() function, it doesn't make sense to do it that way, perhaps in the future it could be considered.

I've tried my best to follow your coding and language style, and if you have any questions or require any changes please let me know.

@mdkieran mdkieran marked this pull request as ready for review February 18, 2024 22:06
Copy link
Owner

@sampotts sampotts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@sampotts sampotts merged commit bd272ba into sampotts:develop Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants