Video and audio content HTML

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Play different media types

<source> element. Ex: <video> <source src="rabbit320.mp4" type="video/mp4"> <source src="rabbit320.webm" type="video/webm"> </video>

audio element

An HTML5 element that displays an audio clip within the Web page body. <audio src="wav.mp3" controls> unto <audio>

poster attribute

used to display an image of a video before the video starts. Ex: A splashscreen/thumbnail

autoplay attribute

Audio begins playing automatically once the web page has loaded. Ex: <video autoplay> what </video>

Codecs

Compressors and decompressors that make a video web friendly Ex: H.264

What do type attributes contain?

MIME types, a media file which describes the kind of file

fallback content

The code placed before the closing video tag. Ex: <video> None</video>

Container formats

The formats for files that hold multiple types of media files, such as video and audio. Ex: WebM for Firefox and Chrome MP4 for Internet Explorer and Safari Ogg for Firefox and Chrome(older)

<video> element

Used to display a video file on a web page Ex: <video src="what.mp4" controls >

controls attribute

adds video controls, like play, pause, and volume.

loop attribute

audio tracks continue to replay once completed

The audio element doesnt support the ________ attribute

poster attribute

preload attribute

this specifies how the author thinks that the media (large file) should be loaded when the page loads. "none" does not buffer the file "auto" buffers the media file "metadata" buffers only the metadata for the file


संबंधित स्टडी सेट्स

Chapter 14 Multiple Choice Questions

View Set

MEEB Chapter 14 - Principles of Electricity

View Set

A&P II Ch. 22 The Lymphatic System and Immunity

View Set

Week 2 Ch 33 Management of Patients With Nonmalignant Hematologic Disorders

View Set

Ch12: Outlining and Revising Your Speech

View Set

Exam #2-Endocrine Crises: DKA vs. HHS

View Set

Chapter 8 - Business Markets and Buying Behavior

View Set