How to Add Video to Your Portfolio
Published · Updated
A portfolio can show a still preview of each project without downloading every video immediately. Use click-to-play players for case studies, load video data when needed, and check that the work remains readable on a phone.
Give each clip a reason to be there
Use motion to show something a screenshot cannot: a transition, a prototype interaction, or a sequence of steps. Keep a still image when it communicates the same result more clearly. Describe the project outcome in text so a visitor can understand the case study without playing every clip.
For a page with several projects, avoid starting every video at once. A grid of posters linked to individual case studies is often easier to browse and requires less initial media transfer.
Export for the player’s actual size
Trim idle cursor movement and recording setup. Crop empty canvas in your editor. Then compare exports at the largest size the player will occupy, including full-screen playback if you offer it.
Screen recordings need enough detail to preserve labels and interaction states. Lower the resolution until text starts losing clarity, then compare against the previous export. Reduce quality separately and check for blocks around moving cursors and soft edges around type. There is no universal bitrate for portfolio work.
Start with a tested MP4. Compare a WebM if the clip is still large; see the format guide before adding a second source.
Use a poster and defer video loading
<video controls playsinline preload="none"
poster="/media/prototype-poster.webp"
width="1280" height="720"
style="display:block;width:100%;height:auto">
<source src="/media/prototype.mp4" type="video/mp4" />
</video>
<p>The prototype shows how filters update the results list.</p>
Replace the paths and dimensions with your assets. Pick a poster that makes sense before playback. Explicit dimensions reserve the player’s aspect ratio; responsive CSS lets it fit the column. The poster guide covers preparing a preview.
preload="none" is a browser hint. Check actual requests rather than assuming it prevents every download. The web.dev performance guide explains the loading tradeoffs. The poster itself still costs a request, so keep preview images appropriately sized too.
Make playback optional and usable
Keep controls visible. Add captions for narration or meaningful sound. If a silent loop starts automatically, provide a way to pause it and respect reduced-motion preferences. W3C’s Pause, Stop, Hide guidance explains why ongoing motion needs user control.
Check the whole page, not only one clip
- Load the public portfolio with the Network panel open and the cache disabled. Check how many videos fetch data before interaction.
- Try a slower connection. The project titles, descriptions, and posters should remain useful while media loads.
- Use a phone to test play, pause, full screen, and caption controls. Check small text within the recording.
- Repeat after adding another project. Individually small clips can still make a large page when they all load together.