DEV Community

How to Add a Screen Recording to a GitHub Issue (and When a Link Is Better Than an Upload)

A 30-second recording can replace three paragraphs of "then I click here and it sort of flickers". Maintainers love them for UI bugs, animation glitches and anything timing-related.

But there are two ways to get a video into an issue, and picking the wrong one leaves you with a file that's too big, a format that won't play, or a video that shows more than you meant to.

Option 1: upload the file directly

GitHub lets you drag a video file into the comment box of an issue, pull request or discussion. It uploads the file and inserts a link that plays inline.

Good for:

  • Short clips (a few seconds to a minute or so).
  • Public repos where anyone may need to see it later.
  • When you want the video to live with the issue forever.

Things to watch:

  • File size limits apply, and they're smaller on free plans. Long or high-resolution recordings often won't fit. Check GitHub's current docs for the exact limit on your plan.
  • Format support. MP4 and MOV are the safe bets. A .webm from a browser recorder may need converting first. A quick conversion with ffmpeg:
ffmpeg -i bug.webm -c:v libx264 -crf 28 -preset fast -an bug.mp4

-an drops the audio track, which you usually don't need for a bug clip and which makes the file smaller. Raise -crf (say to 32) to shrink it further.

  • Uploads are effectively public on public repos. Anything on screen is visible to the whole internet, and deleting the comment later may not remove every copy.

Option 2: paste a link to the recording

Record with any tool that gives you a shareable link, then paste the link into the issue.

Good for:

  • Recordings longer than a minute, or narrated walkthroughs.
  • Private or sensitive repos where you want to control who can watch, and revoke access later.
  • Teams that keep recordings in their own storage (a shared drive) for retention or compliance reasons.

Things to watch:

  • Check the sharing setting before posting. Open the link in a private window: if you get a "request access" page, so will the maintainer.
  • Links can rot. If you delete the file or change its permissions later, the issue loses its evidence. For long-lived open-source issues, upload a short clip and link the longer version.

Record something that's actually useful

Whichever option you pick, the recording itself has to do the work.

  • Start from a known state. Reload the page or open a fresh window first, so the maintainer sees every step.
  • Record only the tab or window, not the whole desktop. Smaller file, sharper text, and no Slack notifications.
  • Keep it under a minute for a bug. Reproduce it once, cleanly. If it needs more, narrate.
  • Show the URL and version if they matter, or type them in the issue.
  • Slow down at the moment of failure. Hover over the broken thing for a second so it's visible in the frame.

Write the issue around the video, not instead of it

A video doesn't replace text. Maintainers search issues, skim them on phones, and can't grep a video. Use a structure like this:

What happened

Clicking "Save" on the settings page shows a spinner forever.

Steps to reproduce

  1. Open /settings
  2. Change the display name
  3. Click Save

Expected

"Saved" message within a second or two.

Actual

Spinner never stops; the network tab shows the request returning 500.

Recording

<drag the file here or paste the link>

Environment

Chrome (version), macOS (version), app version 2.4.1

Before you hit Submit: privacy

Pause on the last frame and the first frame, and scrub through once:

  • Email addresses, names, API keys in the address bar, tokens in the network panel.
  • Other tabs' titles visible in the tab strip.
  • Notifications that slid in mid-recording.

If anything slipped in, re-record. It takes thirty seconds, and you can't take a public upload back.

The recorder we build

We make the URLShortly Chrome extension: it records a single tab, your screen or your camera, saves the recording to your own Google Drive and returns a short link you can paste into the issue. Who can watch follows your Drive sharing settings, so you can revoke access later.

If an upload fails, the recording stays on your computer and can be retried or saved as a .webm file. It needs a free account; the guide is here.

GitHub's own upload is perfectly good for short public clips, too.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.