epiverse-trace / sivirep

Data Wrangling and Automated Reports from 'SIVIGILA' source
https://epiverse-trace.github.io/sivirep/
Other
29 stars 3 forks source link

Convert gif to webm #151

Closed Bisaloo closed 4 months ago

Bisaloo commented 5 months ago

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 commented 4 months ago

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 :shrug:

Bisaloo commented 4 months ago

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.