CHAPTER 18 INTEGRATING AUDIO AND VIDEO. LEARNING OBJECTIVES How the HTML 5 and tag pair can be used to include a video file within a webpage How video.

Slides:



Advertisements
Similar presentations
2.02F Publishing Animated Videos 2.02 Develop Computer Animations.
Advertisements

What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
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
1 Multimedia on the Web: Issues of Bandwidth Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second.
CHAPTER 15 WEBPAGE OPTIMIZATION. LEARNING OBJECTIVES How to test your web-page performance How browser and server interactions impact performance What.
HTML Structure & Web Design Basics
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 17: Video, Audio, and Other MultiMedia.
Section 9.1 Identify multimedia design guidelines Identify sources of multimedia files Explain the ethical use of multimedia files Describe multimedia.
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
Neal Stublen Pre-HTML5 Solutions  Audio and video were embedded in pages using plug-ins Apple Quicktime Microsoft Silverlight Adobe.
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.
INF Web Design Using Multimedia on the Web Video - Part 1.
Chapter 9 Integrating Video. Digital video is a series of bitmap images that, when played back, create the illusion of movement. The quality and overall.
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues Animation Digital Audio fundamentals Browser Plug-ins Java Applets.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Web 2.0: Concepts and Applications 3 Syndicating Content.
Session: 11. © Aptech Ltd. 2HTML5 Audio and Video / Session 11  Describe the need for multimedia in HTML5  List the supported media types in HTML5 
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
Chapter 16 Web Media © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Video on the Web. The Evolution of web video formats… WebM (Supported by Google) Ogg (Supported by Theora) Mp4 (h264 video encoding) WebM (Supported by.
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.
1 Web Developer Foundations: Using XHTML Chapter 10 Helper Applications and Plug-in Concepts.
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 11 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 11 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
Tutorial 7 Working with Multimedia
Tutorial 7 Designing a Multimedia Web Site
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.
Chapter 16 Video. Importing Video Into Flash  Once you import video into Flash, you can control it using behaviors and very basic ActionScript, target.
HTML5 Audio and Video. Slide 2 History Playing audio and video used to be something of a novelty You would embed a control (with the element) into your.
Copyright © 2003 Pearson Education, Inc. Chapter 6 – Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
PLUG INS flash, quicktime, java applets, etc. Browser Plug-ins Netscape wanted a method to extend features of the browser became an unofficial standard.
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.
HTML 5. Introduction In modern browsers, adding a video to your page is as easy as adding an image. No longer do you need to deal with special plug-ins.
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.
FLASH, VIDEO & AUDIO How to add Flash movies into your site How to add video and audio to your site HTML5 and elements.
CS 200 Multimedia Objects in Web Pages. MultiMedia Objects Three primary types of multimedia objects  Audio  Video Includes Flash Objects  Images.
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues HTML5 and elements CSS Transitions and Animations Animation to avoid.
Copyright © Terry Felke-Morris Web Development & Design Foundations with HTML5 8 th Edition CHAPTER 11 KEY CONCEPTS 1.
CHAPTER 10 AUDIO AND VIDEO. MEDIA PLAYER API HTML5 contains an API (Application Programming Interface) for controlling audio and video players embedded.
Chapter 17 The Need for HTML 5.
Advanced HTML Tags:.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Section 9.1 Section 9.2 Identify multimedia design guidelines
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.
Chapter 4: HTML5 Media - <video> & <audio>
Digital TV..
HTML5 Level II Session II
2.02G Publishing Animated Videos
2.02F Publishing Animated Videos
Audio and Video Chapter 10.
Integrating Multimedia: Sound, Video and More
Playing Audio (Part 1).
Playing Video (Part 2).
HTML5 Media.
Multimedia: making it Work
Client-Side Internet and Web Programming
How to add audio and video to your website
HTML5 Audio & Video By Derek Peacock
Presentation transcript:

CHAPTER 18 INTEGRATING AUDIO AND VIDEO

LEARNING OBJECTIVES How the HTML 5 and tag pair can be used to include a video file within a webpage How video files can be saved in a variety of file formats, which not all browsers support How to support common browsers by providing multiple video file formats within your webpage. How to support the and tag pair with older browsers by embedding video within your webpage using the or tags How t developers can optimize video quality or the video file size by compressing video using different formats called codecs How to use the HTML 5 and tag pair to include an audio file within a webpage How to save a variety of file formats through audio files How to provide multiple audio file formats within your webpage to support common browsers

LEARNING OBJECTIVES CONTINUED How to embed video within your webpage using the or tags because older browsers do not support the and tag pair How to control video playback within a webpage by using the JavaScript programming language, How to integrate media players into your webpage using JavaScript

USING HTML 5 VIDEO IS SUPPOSED TO BE EASY To simplify the process of placing a video clip within a webpage, HTML 5 provides the and tag pair. In the ideal sense, using the tag is similar to placing an image within a page. Use the tag src attribute to specify the location of the video file:

FIRST VIDEO Pizza!

SPECIFYING MULTIPLE VIDEO FORMATS Wine! Video Tag Not Supported

VIDEO FILE FORMATS

USING VIDEO CONTROLS Cigars! Video Tag Not Supported

STREAMING VS DOWNLOADED VIDEO In general, there are two video types: streaming and downloaded. A streaming video can start playing after the browser downloads part of the video (enough video to get started). A downloaded video, in contrast, must download completely to the user’s system before it can play. Depending on the video’s size (a video file can become large quickly), a downloaded video may force the user to wait a considerable amount of time before it begins to play. This does not provide a good user experience. Some video file formats support streaming, and others do not. The common streaming video file formats include: WebM (Google), MP4, Ogg, MOV (Quicktime), RM (Real Media), and FLV (Flash video). When you place a video file within a webpage, use a streaming video file format.

VIDEO FILE SIZE Sleepy Dog! Video Tag Not Supported Video Tag Not Supported

UNDERSTANDING VIDEO CODECS A video file is essentially a big collection of ones and zeros that define the pictures that make up the video as well as the audio. To improve the quality of the video and audio or to speed up the video download, apply different compression formats to a video file. Developers refer to these formats at codecs. There are a variety of codecs you can use when you save a video file. The three most common codecs include: H.264, Theora, and V8. Unfortunately, not all browsers support each.

SUPPORTING OLDER BROWSERS Parrot!

SUPPORTING ALL BROWSERS Horses!

DIRECTING THE BROWSER TO BUFFER VIDEO When a browser downloads an HTML page, it examines the HTML tags and begins to download related files, such as photos on the page. If your webpage contains a video that you do not want to start automatically after the page loads but that you think the user will ultimately start, you can direct the browser to start downloading and buffering the video file. In this way, when the user later starts the video, the browser can begin to play it without a downloading delay. To direct the browser to begin buffering video, use the tag preload attribute. If the video is set to autoplay, the browser automatically begins to buffer the video and ignores the preload attribute.

USING POSTER TO DISPLAY A DEFAULT PHOTO Clouds!

LOOPING A VIDEO Hiker!

LETTING YOUTUBE HANDLE YOUR VIDEOS You may be thinking that video processing within a webpage is too challenging or too much effort. To simplify such processing, many users upload videos to You Tube and then run the videos from there by embedding references to the video within their HTML file. Although You Tube simplifies the process, using You Tube may subject your videos to advertising.

PLACING AUDIO IN A WEB SITE Rock!

AUDIO SUPPORT FOR OLDER BROWSERS Jazz!

REAL WORLD: YAHOO MEDIA PLAYER Sunset Video Music Audio

SUMMARY You can make extensive use of phone-based video cameras to record content you later want to post on the Web. Likewise, audio-based podcasts that can play from a PC or mobile device have become very popular. As you design webpages, there will be times when you integrate video or audio content into your page. In an attempt to make such integration easier, HTML 5 introduced the and tags. Unfortunately, because not all browsers support HTML 5, and because different browsers support different audio and video file formats, the process of integrating audio and video into a webpage remains complex. In this chapter, you learned how to use the HTML 5 video and audio capabilities while continuing to provide support for older browsers.