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

Convert gif to webm #151

Merged
merged 12 commits into from
May 27, 2024
Merged

Convert gif to webm #151

merged 12 commits into from
May 27, 2024

Conversation

Bisaloo
Copy link
Member

@Bisaloo Bisaloo commented May 6, 2024

Command: ffmpeg -i template-report.gif -c vp9 -b:v 0 -crf 40 template-report.webm

It took a bit of fiddling to get pkgdown to play nice with videos but I think I got it to work.

@Bisaloo
Copy link
Member Author

Bisaloo commented May 8, 2024

I'm stumped here. This works locally. The video is encoded in base64 and embedded directly in the page, without the need for external resources. But for some reason, it looks like it's not working here.

The best option may be to revert to 2cefb03 (#151) but it seems strange to include to video in the package source if we don't end up using it from here 🤷

@Bisaloo
Copy link
Member Author

Bisaloo commented May 23, 2024

So I double checked and the pkgdown issue is a false positive. I have removed the 2 latest commits that seemed to create a new issue and removed the check. This is working as intended and ready to be merged from what I can tell.

Copy link
Member

@GeraldineGomez GeraldineGomez left a comment

Choose a reason for hiding this comment

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

Thank you so much, Hugo, for tackling this issue :)

@GeraldineGomez GeraldineGomez merged commit ecc98e6 into main May 27, 2024
8 checks passed
@GeraldineGomez GeraldineGomez deleted the gif2webm branch May 27, 2024 14:37
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.

None yet

2 participants