Learn HTML Basics Lesson No : 10

Slides:



Advertisements
Similar presentations
Computer Fundamentals Multimedia MSCH 233 Lecture 10.
Advertisements

Chapter 11 Media and Interactivity Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
CNIT 132 – Week 9 Multimedia. Working with Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each.
Chapter 11 Media and Interactivity Basics Key Concepts
Iframes & Images Using HTML.
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
UNIT K: INCORPORATING VIDEO AND AUDIO 1 Encoding: the process of transforming moving image and/or sound into a digital file. Each encoding method known.
Video, audio, embed, iframe, HTML Form
 Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.  Multimedia comes.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Audio and Video on the Web Sec 5-12 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Session: 11. © Aptech Ltd. 2HTML5 Audio and Video / Session 11  Describe the need for multimedia in HTML5  List the supported media types in HTML5 
Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.
Tutorial 7 Working with Multimedia. XP Introducing Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Adding Sound.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
HTML Use of Multimedia on web page. HTML Media Q. How to call Image file in our web page ? A. That is the easy syntax for defining an image. 2.
Contents MULTIMEDIA –Audio –Video –Animation –PDF.
Tutorial 7 Working with Multimedia
Tutorial 7 Designing a Multimedia Web Site
Supplementary Materials on Web Authoring. Insert Anchors & Add Hyperlinks Insert other multimedia elements: Flash animations Video clips & Audio clips.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
HTML 5 Tutorial Chapter 3 Video. Video HTML 5.0 provides a standard for showing video. Using the element we can easily embed video within our web page.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi.
Done by: Athra Sultan IT Teacher. Some general principles derived from multimedia design include: Simplicity Consistency Clarity Balance Harmony & Unity.
2 If aliens came to this solar system and observed humans over the last several years, what would they think is the most significant benefits of the.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
Multimedia Multimedia obuhvata sve što može da se vidi, čuje, pročita Multimedijalni sadržaji mogu biti u različitim formatima Podrška Internet browser-ima.
CHAPTER 10 AUDIO AND VIDEO. MEDIA PLAYER API HTML5 contains an API (Application Programming Interface) for controlling audio and video players embedded.
HTML Structure & syntax
Advanced HTML Tags:.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
Section 9.1 Section 9.2 Identify multimedia design guidelines
Using Multimedia on the Web
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Chapter 9 HTML 5 Video and Audio
HOW FLASH WORKS The Flash authoring environment is used to create Flash movies The .fla file is exported to a format called .swf The .swf file is.
Web System & Technology Course Code:CS-241 Credit Hours (3+1) Lab 7 HTML Multimedia Instructor: Muhammad Zeeshan Haider Ali Blog Address:
Creating Dynamic Web Pages with FrontPage Barry Sosinsky Valda Hilley
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Chapter 4: HTML5 Media - <video> & <audio>
Audio and Video on the Web
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Web Design and Development
HTML Images CS 1150 Spring 2017.
Tutorial 7 Working with Multimedia
HTML5 Level II Session II
Software and Multimedia
Playing Audio (Part 2).
Audio and Video Chapter 10.
Software and Multimedia
Integrating Multimedia: Sound, Video and More
Essentials of Web Pages
Playing Audio (Part 1).
Playing Video (Part 2).
Playing Video (Part 1).
HTML5 Media.
Client-Side Internet and Web Programming
Insertimi i audiove/videove
Graphics (Characteristics 1)
Basic HTML and Embed Codes
DREAMWEAVER MX 2004 Chapter 9 Adding Media Elements
Basics of Web Design Chapter 11 Media and Interactivity Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Working with Multimedia
How to add audio and video to your website
HTML Images CS 1150 Fall 2016.
HTML5 Audio & Video By Derek Peacock
Presentation transcript:

Learn HTML Basics Lesson No : 10 Publisher : Attitude Academy

What is Multimedia? Browser Support Multimedia comes in many different formats. It can be almost anything you can hear or see. Examples: Pictures, music, sound, videos, records, films, animations, and more. Web pages often contain multimedia elements of different types and formats. In this chapter you will learn about the different multimedia 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 and fonts, and even support for pictures! The support for sounds, animations, and videos is handled differently by various browsers. Different types and formats are supported, and some formats require extra helper programs (plug-ins) to work. Hopefully this will become history. HTML5 multimedia promises an easier future for multimedia. Element <video> 4.0 9.0 3.5 10.5

Multimedia Formats Browser Support Multimedia elements (like sounds or videos) are stored in media files. The most common way to discover the type of a file, is to look at the file extension. When a browser sees the file extension .htm or .html, it will treat the file as an HTML file. The .xml extension indicates an XML file, and the .css extension indicates a style sheet file. Pictures are recognized by extensions like .gif, .png and .jpg. Multimedia files also have their own formats and different extensions like: .swf, .wav, .mp3, .mp4, .mpg, .wmv, and .avi. Browser Support Browser Support The numbers in the table specify the first browser version that fully supports the <video> element. Element <video> 4.0 9.0 3.5 10.5 3

HTML5 Video Example How it Works <body> <video width="400" height="240" controls> <source src="mov_bbb.mp4" type="video/mp4"> Your browser does not support HTML5 video. </video> </body> How it Works The controls attribute adds video controls, like play, pause, and volume. It is a good idea to always include width and height attributes. If height and width are not set, the browser does not know the size of the video. The effect will be that the page will change (or flicker) while the video loads. Text between the <video> and </video> tags will only display in browsers that do not support the <video> element. Multiple <source> elements can link to different video files. The browser will use the first recognized format. 4

HTML <video> Autoplay To start a video automatically use the autoplay attribute: <body> <video width="320" height="240" autoplay> <source src="movie.mp4" type="video/mp4"> Your browser does not support the video tag. </video> </body> 5

Audio on the Web Browser Support Before HTML, there was no standard for playing audio files on a web page. Before HTML, audio files could only be played with a plug-in (like flash). The HTML <audio> element specifies a standard way to embed audio in a web page. Browser Support The numbers in the table specify the first browser version that fully supports the <audio> element. Element <audio> 4.0 9.0 3.5 10.5 6

The HTML <audio> Element To play an audio file in HTML, use the <audio> element: <body> <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> </body> How it Works The controls attribute adds audio controls, like play, pause, and volume. Text between the <audio> and </audio> tags will display in browsers that do not support the <audio> element. Multiple <source> elements can link to different audio files. The browser will use the first recognized format. 7

FACEBOOK GOOGLE MAP HTML Plug-ins The purpose of a plug-in, is to extend the functionality of the HTML browser. Helper applications are computer programs that extend the standard functionality of a web browser. Helper applications are also called plug-ins. Examples of well-known plug-ins are Java applets. Plug-ins can be added to web pages with the <object> tag or the <embed> tag.  Plug-ins can be used for many purposes: display maps, scan for viruses, verify your bank id, etc. FACEBOOK GOOGLE MAP 8

Struggling with Video Formats? HTML YouTube Videos The easiest way to play videos in HTML, is to use YouTube. Struggling with Video Formats? Different versions of different browsers support different video formats. Earlier in this tutorial, you have seen that you might have to convert your videos to different video formats to make them play in all browsers. Converting videos to different format can be difficult and time consuming. An easier solution might be to let YouTube play the videos in your web page. To play your video on a web page, do the following: Upload the video to YouTube Take a note of the video id Define an <iframe> element in your web page Let the src attribute point to the video URL Use the width and height attributes to specify the Dimension of the player Add any other parameters to the URL 9

Playing a YouTube Video in HTML <body> <iframe width="350" height="300" src="https://www.youtube.com/embed/j_mqwqgWZME" frameborder="0" allowfullscreen></iframe> </body> 10

PRACTICAL IMPLEMENTATION

Visit Us : Attitude Academy