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

fix: add media metadata via ffprobe-static #61

Closed
wants to merge 1 commit into from

Conversation

luwes
Copy link
Collaborator

@luwes luwes commented Sep 13, 2023

related #22

ffprobe-static includes binaries for each platform
https://github.com/eugeneware/ffmpeg-static/tree/master/packages/ffprobe-static

@luwes luwes self-assigned this Sep 13, 2023
@@ -111,6 +114,7 @@ export default function NextVideo(props: NextVideoProps) {
poster=""
style={{
'--controls': controls === false ? 'none' : undefined,
aspectRatio: aspectRatio !== '16/9' ? aspectRatio : undefined,
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reasoning behind this check? We don't want to use the aspect ratio if it's 4:3 or otherwise?

Copy link
Collaborator Author

@luwes luwes Sep 14, 2023

Choose a reason for hiding this comment

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

the default is 16 / 9 defined in the inline <style> tag. if it's the same than 16/9 we skip setting it as an inline style attribute

@heff
Copy link
Contributor

heff commented Jan 10, 2024

Anything left to do on this one?

@luwes
Copy link
Collaborator Author

luwes commented Jan 11, 2024

I think we decided not to pursue this for the time being.
I'll keep it in the back pocket...

@luwes luwes closed this Jan 11, 2024
@luwes luwes mentioned this pull request Sep 19, 2024
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