question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gif and mp4 not playing/showing up

See original GitHub issue

First of all, thanks for the really nice template. Unfortunately, I got problems shipping gifs and mp4. I’m new to eleventy and have problems here. The gif is not playing and the mp4 not showing up at all. https://thoughts-on-coding.netlify.app/2020/04/20/a-c++-github-template-repository-utilizing-circleci-cmake-docker-and-doxygen/

![Example job invocation of the CircleCI CLI](/img/circlecicli.gif)
![Example of a docker image generation for the cpptemplate](/img/cpptemplateimage.mp4)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

3reactions
cramforcecommented, Mar 9, 2021

No, GIFs are actually drastically larger than the same GIF transcoded to a video (Roughly 10:1 ratio).

2reactions
cramforcecommented, Mar 9, 2021

The short term fix would be to skip these lines if the image is a GIF https://github.com/google/eleventy-high-performance-blog/blob/main/_11ty/img-dim.js#L72-L89

The better fix would be to transcode GIFs to videos and play them as <video autoplay loop muted>.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"gif"-animations from giphy saved as .mp4, cannot be re ...
Expected result: the animated picture will show auto-playing in the message view, just as it did from giphy originally. If the mp4 is ......
Read more >
Troubleshoot Upload Failure
If your uploads to GIPHY are not showing up on your channel page, it's a good idea to check a couple things before...
Read more >
Snagit does not support GIF or MP4
I recorded a video of 1044 x 712 in Snagit 13, saved it as mp4, it plays without error, but when I click...
Read more >
Gif Not Working in Instagram – What to Do
It's slightly misleading, but the gifs that you download (or upload) from GIPHY are in the MP4 format making them compatible with Instagram....
Read more >
Replace animated GIFs with video for faster page loads
Provide both WebM and MP4, so that if a browser doesn't support WebM, it can fall back to MP4. Replace an animated GIF...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found