--- 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 element enables you to indicate alternative video files which the browser may choose from. The browser will utilize the first recognized format. In HTML5, there are 3 supported video formats: MP4, WebM, and Ogg. The text between the tags will only be displayed in browsers that do not support the