logo

modern front end tech

multimedia main comps

in this chapter you are going to :-

what is multimedia

multimedia is the use of different types of media to convey information or entertainment. it can include text, images, audio, video, and interactive elements. multimedia is often used in education, advertising, and entertainment to create engaging and interactive experiences for users.

video element

the video element is used to embed video content in a web page. it allows you to specify the source of the video, as well as various attributes such as controls, autoplay, and loop. the video element is supported by most modern web browsers and can be used to display a wide range of video formats.

            
                <video src="video.mp4" controls autoplay muted loop poster="poster.jpg" preload="auto" playsinline>
                    Your browser does not support the video tag.
                </video>
            
        

audio element

the audio element is used to embed audio content in a web page. it allows you to specify the source of the audio, as well as various attributes such as controls, autoplay, and loop. the audio element is supported by most modern web browsers and can be used to play a wide range of audio formats.

                
                    <audio src="audio.mp3" controls autoplay muted loop preload="auto">
                        Your browser does not support the audio tag.
                    </audio>
                
            

embed element

the embed element is used to embed external content, such as multimedia or interactive applications, into a web page. it can be used to embed a wide range of content types, including videos, audio files, flash animations, and more. the embed element is supported by most modern web browsers and can be used to enhance the user experience on a web page.

                
                    <embed src="content.swf" type="application/x-shockwave-flash" width="400" height="300">
                
            

object element

the object element is used to embed external content, such as multimedia or interactive applications, into a web page. it can be used to embed a wide range of content types, including videos, audio files, flash animations, and more. the object element is supported by most modern web browsers and can be used to enhance the user experience on a web page.

                
                    <object data="content.swf" type="application/x-shockwave-flash" width="400" height="300">
                        <param name="movie" value="content.swf">
                    </object>
                
            

track element

the track element is used to specify text tracks for media elements like video and audio. it allows you to provide subtitles, captions, or other types of text-based information that can be displayed alongside the media content. the track element is supported by most modern web browsers and can be used to improve accessibility and user experience for multimedia content.

                
                    <video src="video.mp4" controls>
                        <track src="subtitles.vtt" kind="subtitles" srclang="en" label="English">
                    </video>
                
            
our youtube channel