Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a mimetype detection system #105

Closed
patrickmj opened this issue Feb 5, 2025 · 0 comments
Closed

Need a mimetype detection system #105

patrickmj opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
🏆 enhancement New feature or request

Comments

@patrickmj
Copy link
Contributor

Initial Estimated Time
Estimates here are in 1/2 day, 1 day, 1/2 week, 1 week, and 2+week increments. This is dev-time, actual timelines to completion will typically be longer.

1/2 day

How this moves the project forward
Briefly list what completion means for broader overall project goals, including non-code goals.

For TextMedia and Jwplayer renderers, we need to detect the mimetype before pointing to it so we can case-switch about how to proceed, and what to give to JWPlayer

Describe the enhancement
A clear and concise description of enhancement.

Something in the Ceres\Util namespace (need to figure out new class or does it fit in existing classes?) to do a curl headers request and parse out the results.

URLs to refer to

https://stackoverflow.com/questions/12656889/php-get-remote-file-mime-type

Screenshots
If applicable, add screenshots to help explain your problem.

@patrickmj patrickmj added the 🏆 enhancement New feature or request label Feb 5, 2025
@patrickmj patrickmj self-assigned this Feb 5, 2025
patrickmj added a commit that referenced this issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏆 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant