--- title: MDNのビデオコンテンツ slug: MDN/Guidelines/Video translation_of: MDN/Guidelines/Video ---
MDNのWeb Docsは動画が多いサイトではありませんが、ビデオコンテンツを記事の一部として使用することに意味がある場所がいくつかあります。この記事では、MDNの記事に動画を含めることが適切な場合について説明し、シンプルだが効果的なビデオを予算内で作成するためのヒントを提供します。
技術文書、特に参考資料や上級レベルガイドにビデオコンテンツを使用することには、いくつかの反対意見があります。:
Video is linear. People don’t tend to read online documentation in a linear fashion, starting at the start and reading through to the end. They scan. Video is really hard to scan — it forces the user to consume the content start-to-finish.
Video is less information-dense than text. It takes longer to consume a video explaining something than it does to read the equivalent instructions.
Video is big in terms of file size, and therefore more expensive and less performant than text.
Video has accessibility problems: it’s more expensive to produce generally than text, but especially to localize, or make usable by screen reader users.
Following on from the last point, video is much harder to edit/update/maintain than text content.
Note: It’s worth keeping these problems in mind, even when you are making videos, so you can try to alleviate some of them.
There are many popular video sites that provide a lot of video tutorials. MDN just isn't a video-driven site. But video does have a place on MDN, in certain contexts.
We tend to most commonly use video when describing some kind of instruction sequence or multi-step workflow that would be hard to describe concisely in words: "do this, then do that, then this will happen". It is especially useful when trying to describe processes that cross over multiple applications or windows, and include GUI interactions that might not be simple to describe: "now click on the button near the top-left that looks a bit like a duck".
In such cases it is often more effective to just show what you mean. We most commonly use videos when explaining features of the Firefox DevTools.
Videos for MDN should be:
Short: Try to keep videos under 30 seconds, ideally under 20 seconds. This is short enough not to make big demands on peoples’ attention spans.
Simple: Try to make the workflow simple, 2-4 distinct pieces. This makes them easier to follow.
Silent: Audio makes videos much more engaging, but they are much more time-consuming to make. Also, having to explain what you’re doing makes the videos much longer, and adds to the costs (both financial and in terms of time) of localization.
To explain something more complex, you can use a blend of short videos and screenshots, interspersed with text. The text can help reinforce the points made in the video, and the user can rely on the text or the video as they choose. See Working with the Animation Inspector for a good example.
In addition, you should consider the following tips:
You'll need some kind of a tool for recording the video. These range from free to expensive, and simple to complex. If you are already experienced in creating video content, then great. If not, then we'd recommend that you start with a simple tool and then work up to something more complex if you start to enjoy creating video and want to create more interesting productions.
The following table provides some recommendations for good starter tools.
Tool | OS | Cost | Post-production features available? |
---|---|---|---|
Open Broadcaster Software | macOS, Windows, Linux | Free | Yes |
CamStudio | Windows | Free | Limited |
Camtasia | Windows, macOS | High | Yes |
QuickTime Player | macOS | Free | No, just allows simple recording |
ScreenFlow | macOS | Medium | Yes |
Kazam | Linux | Free | Minimal |
If you are using macOS, you should have QuickTime Player available. This actually provides pretty easy simple recording facilities too:
the following subsections describe the general steps you'd want to follow to create a video and get it shown on an MDN page.
First, plan the flow you want to capture: consider the best points to start and end.
Make sure the desktop background and your browser profile are clean. Plan the size and positioning of browser windows, especially if you will be using multiple windows.
Plan carefully what you are actually going to record, and practice the steps a few times before recording them:
Don't start a video in the middle of a process — consider whether the viewer has enough context for your actions to make sense to them. In a short DevTools video for example, it is a good idea to start by opening the DevTools to allow the viewer to get oriented.
Consider what your actions are, slow down, and make them obvious. Whenever you have to perform an action (say, click an icon), take it slow and make it obvious, so for example:
Move the mouse over the icon
Highlight or zoom (not always, depending on whether it feels needed)
Pause for a beat
Click the icon
Note: Don’t zoom so far that the UIs you are showing start to look unfamiliar or ugly.
When recording the workflow you want to show, go through the flow smoothly and steadily. Pause for a second or two when you are at key moments — for example, about to click on a button. Make sure the mouse pointer doesn’t obscure any icons or text that are important to what you are trying to demonstrate.
Remember to pause for a second or two at the end, to show the result of the flow.
Note: If you are using a really simple tool like QuickTime Player and post production is not an option for some reason, you should get your windows set up in the right size to show the area you want to show. In the Firefox DevTools, you can use the Rulers Tool to make sure the viewport is at the right aspect ratio for the recording.
You’ll be able to highlight key moments in post-production. A highlight can consist of a couple of things, which you’ll often combine:
Highlight key moments of the workflow, especially where the detail is hard to see: clicking on a particular icon or entering a particular URL, for example. Aim for the highlight to last for 1-2 seconds. It’s a good idea to add a short transition (200-300 milliseconds) at the starts and ends of the highlights.
Use some restraint here: don’t make the video a constant procession of zooming in and out, or viewers will get seasick.
Crop the video to the desired aspect ratio, if required.
Videos currently have to be uploaded to YouTube to be displayed on MDN, for example the mozhacks channel. Ask a member of MDN staff to upload the video if you don't have somewhere appropriate to put it.
Note: Mark the video as "unlisted" if it doesn’t make sense out of the context of the page (if it’s a short video, then it probably doesn't).
Once uploaded, you can embed the video in the page using the {{TemplateLink("EmbedYouTube")}} macro. This is used by inserting the following in your page at the position you want the video to appear:
\{{EmbedYouTube("you-tube-url-slug")}}
The single property taken by the macro call is the string of characters at the end of the video URL, not the whole URL. For example, the video embedded in our Page inspector 3-pane mode article is available at https://www.youtube.com/watch?v=ELS2OOUvxIw, so the required macro call looks like this:
\{{EmbedYouTube("ELS2OOUvxIw")}}