---
title: Video textures
slug: Web/API/WebGL_API/By_example/Video_textures
tags:
  - Advanced
  - Example
  - Graphics
  - Learn
  - NeedsContent
  - Tutorial
  - WebGL
---
{{ draft() }}

{{Previous("Learn/WebGL/By_example/Textures_from_code")}}

This example demonstrates how to use video files as textures for WebGL surfaces.

## Textures from video

{{EmbedGHLiveSample('webgl-examples/tutorial/sample8/index.html', 670, 510) }}

{{Previous("Learn/WebGL/By_example/Textures_from_code")}}
