Posts

HTML5 MULTIMEDIA PART2 CHAPTER 26

Image
26 TUTORIAL  PART 2 VIDEO AUDIO  HTML  Video The HTML  <video>  element is used to show a video on a web page. <!DOCTYPE html>  <html>  <body>  <video width="400" controls>   <source src="mov_bbb.mp4" type="video/mp4">   <source src="mov_bbb.ogg" type="video/ogg">   Your browser does not support HTML video. </video> </body>  </html> The HTML <video> Element To show a video in HTML, use the  <video>  element: <!DOCTYPE html> <html> <body> <video width="320" height="240" controls>   <source src="movie.mp4" type

HTML MULTIMEDIA CHAPTER 26

Image
26TH TUTORIAL ON HTML MULTIMEDIA    HTML Multimedia Multimedia on the web is sound, music, videos, movies, and animations.   What is Multimedia? Multimedia comes in many different formats. It can be almost anything you can hear or see, like images, music, sound, videos, records, films, animations, and more. Web pages often contain multimedia elements of different types and formats.   Browser Support The first web browsers had support for text only, limited to a single font in a single color. Later came browsers with support for colors, fonts, images, and multimedia!   Multimedia Formats Multimedia elements (like audio or video) are stored in media files. The most common way to discover the type of a file, is to look at the file extension. Multimedia files have formats and different extensions like: .wav, .mp3, .mp4, .mpg, .wmv, and .avi.   Common Video Formats There are many video formats out there. The MP4, WebM, and Ogg formats are supported by HTML. Th