What changed since the original tutorial

This address originally hosted an ActionScript 3 video-player tutorial. The useful goal—showing video on a website—remains, but the browser runtime has changed. Preserve the original assets, then build around supported HTML media rather than requiring Flash Player.

Before writing a custom interface, list the features you really need: playback, seeking, volume, captions, a poster image and a clear failure message. Many projects need fewer custom controls than their first mockup suggests.

Begin with native playback

The HTML video element provides a standard starting point. Supply a supported media source and enable browser controls. Add a useful poster image if it helps the viewer understand the content before playback. Avoid downloading a large video merely because someone opened the page.

Provide captions where the content requires them, and make a transcript available when it helps people access the information. A visual design that hides the browser's controls must replace their keyboard and accessibility behaviour, not just their appearance.

Build an explicit state model

If you need custom controls, define what each control does during loading, playback, pause, completion and failure. Keep the button label and visible state consistent. A play button that still says “play” while the video runs creates uncertainty.

Test seeking before the file is fully loaded, pausing on a slow connection and switching between videos. Show a useful message when the source cannot be played instead of leaving an empty rectangle.

Treat autoplay as optional

Do not design a page whose meaning depends on a video starting automatically. Browser policies and user preferences can prevent autoplay, and unexpected sound is disruptive. Let people choose playback and keep essential text available independently.

On phones, check that controls remain easy to activate and the video fits the available width. Reserve the video's dimensions in the layout to avoid pushing surrounding content around when it loads.

Verify your real delivery path

Test the actual encoded file from its intended host, not only a local sample. Check captions, content type, loading behaviour and the experience on the devices your audience uses. Keep the original master file separate from the compressed web version.

For a broader migration, see replacing Flash projects. The objective is a reliable, accessible viewing experience, not a literal recreation of an old plug-in interface.