A short animation will appear over a colored area on a product page. Its transparent areas will reveal the page's background color. An alpha channel stores not only the image colors but also their opacity levels. This enables the center of an object to remain fully opaque, while at edges or behind thin fabric, parts of the background become visible.
Compare a short excerpt from two background layers
In this example, an orange band rotates and gradually fades at its edge. For the export test, the movement is sufficient when shown in a short clip. In the preview composition, place a white and a dark blue color area one after the other beneath the animation. Compare three areas: the area next to the band, the semi-transparent edge, and the solid central region.
Turn off the test areas before exporting. Select an export profile that actually writes the alpha channel. Import the exported file into a new test composition and repeat the comparison. Do you already see a fully solid rectangle here? Then check your export settings and the layers in the project. A checkerboard pattern visible only in the slicing program is not evidence of exported transparency.
Check the actually delivered file
The WebM project outlines a method for supporting alpha channels in WebM using VP8. Chrome for Developers also provides corresponding WebM examples. Apple describes HEVC with its own alpha channel component. These are possible outputs that must be independently supported by both encoder and decoder. A file extension or a properly formatted video does not confirm that the alpha channel is actually used in the visible output.
WebM Project · How Alphadaten can be exported as a WebM video
Chrome for Developers · Examples of Videos with Alpha Transparency
Apple Developer · HEVC with Alpha and Picture Plane Playback
- Before uploading, verify the exported version against both colors and record the file names and export profile.
- After processing, open the embedded version on the test page. Switch the page background in your own preview from light to dark. Note whether the player itself uses a solid background color.
- Play the example in the intended desktop and mobile browser. Start the test after launch, as the thumbnail may have a different background than the subsequent video frames.
- If your local file is transparent and the hosted version looks opaque, check the delivered file and the player’s layer over the page separately. A version with a fixed background can serve as a fallback if the viewing setup does not support transparency.
In the strip example, the test is passed when the color of the side adjacent to the strip remains visible through its soft edge and the strip is clearly visible in the center. If the movement is purely decorative, an appropriate still image can take over the intended space.
File extension, container, and codec of the video should differ before upload
Compare exports and delivered video from the viewer's point of view