---
title: HTML5 Video
localeTitle: Видео HTML5
---
## Видео HTML5
Перед HTML5, чтобы иметь видеоигра на веб-странице, вам нужно будет использовать плагин, например Adobe Flash Player. С введением HTML5 вы можете разместить его непосредственно на самой странице. HTML-код тег используется для встраивания видео в веб-документы. Он может содержать один или несколько источников видео, представленных с использованием атрибута src или [исходного](source) элемента.
Чтобы вставить видеофайл в веб-страницу, просто добавьте этот фрагмент кода и измените src аудиофайла.
\`\` \`\` HTML Ваш браузер не поддерживает элемент видео. Пожалуйста, обновите его до последней версии.
```
The controls attribute includes video controls, similar to play, pause, and volume.
This feature is supported by all modern/updated browsers. However, not all support the same video file format. My recommendation for a wide range of compatibilty is MP4, as it is the most widely accepted format. There are also two other formats (WebM and Ogg) that are supported in Chrome, Firefox, and Opera.
The