1. 6
  1. 6

    The video’s don’t seem to work for me in Firefox on Linux: “no video with supported format and MIME type found”. This seems to be MP4, which should work. If I open one of the links directly I get “The video can’t be played because the file is corrupt”. In the console I have the error:

    Media resource [..] could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005)

    Details: mozilla::SupportChecker::AddMediaFormatChecker(const mozilla::TrackInfo&)::<lambda()>: Decoder may not have the capability to handle the requested video format with YUV444 chroma subsampling.

    Playing it with mpv works, and confirms it uses YUV444. It looks like Firefox doesn’t support this for MP4 files:

    While ffmpeg can decode them, neither windows WMF decoder nor Apple’s one can.
    For coonsistency sake, we’ve disabled them on Linux too.

    If you want to play yuv444 video, prefer a free codec such as vp9 for which we can provide decoder.

    Anyway, just FYI :-)

    All of that being said, I often find just a piece of text with example commands a lot easier than videos, as they don’t move so much and I can adsorb it in my own time (“what did it type? Oh, now it’s gone”)

    1. 2

      Thanks for digging into this. I ran into it and was just going to complain that the videos weren’t working for me without bothering to troubleshoot. I’ve seen the problem a half dozen times and chalked it up to a poor video hosting site in the past.

      Now that I know this, I installed ff2mpv’s native messaging host (yay -S ff2mpv-native-messaging-host-git) followed by this add-on and now have a right-click option to play these in mpv with even less fuss.

      1. 1

        Oh jeez. Adding videos to the website is a pain in the ass Sorry, my bad. Should have just gone with pure GIFs ig?

        All of that being said, I often find just a piece of text with example commands a lot easier than videos, as they don’t move so much and I can adsorb it in my own time (“what did it type? Oh, now it’s gone”)

        I see thanks, wanted it to be interactive so that I could demonstrate how the workflow will change if you mess up git

        1. 3

          Have you checked out asciinema? Less of a hassle than either videos or gifs I would imagine.

          1. 1

            GIFs can be kinda large.

            I’m not sure what the best codecs to use is; I never really added videos to a webpage so I never looked at it; I just noticed it didn’t work 😅 I’m sure there are some guides out there, and as mentioned asciinema is quite nice as well.

        2. 1

          I make frequent use of a variation of The Email called The Slack Message.