Tutorial 7 Designing a Multimedia Web Site

Slides:



Advertisements
Similar presentations
 2004 Prentice Hall, Inc. All rights reserved. Chapter 28 – Multimedia: Audio, Video, Speech Synthesis and Recognition Outline 28.1 Introduction 28.2.
Advertisements

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.
Iframes & Images Using HTML.
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.
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.
XP Creating Web Pages with HTML, 3e Prepared by: C. Hueckstaedt, Tutorial 10 1 New Perspectives on Creating Web Pages with HTML Tutorial 10: Creating a.
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues Animation Digital Audio fundamentals Browser Plug-ins Java Applets.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
XP 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial 8.
Web 2.0: Concepts and Applications 3 Syndicating Content.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
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 
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
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.
Multimedia and the Web Chapter Overview  This chapter covers:  What Web-based multimedia is  how it is used today  advantages and disadvantages.
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
XP Tutorial 8New Perspectives on HTML and XHTML, Comprehensive 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
XP Tutorial 8New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and.
Tutorial 7 Working with Multimedia
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
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.
Tutorial 7 Planning and Creating a Flash Web Site.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
PLUG INS flash, quicktime, java applets, etc. Browser Plug-ins Netscape wanted a method to extend features of the browser became an unofficial standard.
XP Tutorial 8 Adding Interactivity with ActionScript.
Multimedia Web Pages. Multimedia displays Browser can load web pages that contains multimedia elements 1. Helper applications: stand-alone programs that.
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.
Multimedia: Audio and Video Kyle Hawver. BGSOUND element Should be placed in the HEAD section of the HTML document Has 4 key properties: – SRC – URL of.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
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.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
HTML Overview Part 8 – Java Applets 1. Applets 2  A Java applet is a small application embedded in your HTML document which runs in the browser window.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
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.
Tutorial 7 Adding Behaviors and Rich Media. Objectives Session 7.1 – Learn about behaviors – Add behaviors to a page – Add a custom script to a page Session.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Web Design, 5 th Edition 6 Multimedia and Interactivity Elements.
Section 9.1 Section 9.2 Identify multimedia design guidelines
Using Multimedia on the Web
VIDEO.
Learn HTML Basics Lesson No : 10
Tutorial 7 Working with Multimedia
Objectives Understand audio and video formats
Integrating Multimedia: Sound, Video and More
Playing Video (Part 1).
HTML5 Media.
Outline Introduction Audio and Video
Working with Multimedia
About Multimedia Files
Presentation transcript:

Tutorial 7 Designing a Multimedia Web Site

Objectives Learn about sound file formats and properties Embed a sound clip using the audio element Embed a sound clip using the embed element Learn about video file formats and properties Embed a video clip using the video element New Perspectives on HTML, CSS, and XML, 4th Edition

Objectives Embed a video clip using the object element Explore how to use Shockwave Flash players Explore how to embed YouTube videos Explore the history of Java Embed a Java applet and other Objects New Perspectives on HTML, CSS, and XML, 4th Edition

Playing Web Audio New Perspectives on HTML, CSS, and XML, 4th Edition

Introducing Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second. Consider bandwidth when working with multimedia on a Web site Multimedia is much more accessible to Internet users because of high-speed internet connections and the reduction of the file size of multimedia clips New Perspectives on HTML, CSS, and XML, 4th Edition

Introducing Multimedia Multimedia is displayed within a Web page in a fashion similar to an inline images Controls are displayed as part of the Web page To play a multimedia file, a browser often will have access to a plug-in or add on Starting with the widespread adoption of HTML5, many browsers now include built-in support for audio and video files, removing the need for plug-ins New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio Every sound wave is composed of two components: Amplitude- the height of the sound wave Relates to sound’s volume Frequency- the speed at which the sound wave moves Relates to sound’s pitch New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio You hear sounds as a continuously varying signal Must be converted to digital format to store as a computer file Digital recording measures the sound’s amplitude at discrete moments in time Each measurement is called a sample Samples per second taken is called the sampling rate New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio Sampling resolution (also called bit depth) indicates the precision in measuring the sound within each sample. 8-bit 16-bit 32-bit New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio There are different sound file formats used for different operating systems. Different file formats provide varying levels of sound quality and file compression. New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Audio New Perspectives on HTML, CSS, and XML, 4th Edition

Adding HTML5 Audio To add an audio clip under HTML5, use the audio element <audio> <source src=”url1” /> <source src=”url2” /> … </audio> where url1, url2, etc. are the possible sources of the audio clip. New Perspectives on HTML, CSS, and XML, 4th Edition

Adding HTML5 Audio New Perspectives on HTML, CSS, and XML, 4th Edition

Working with Embedded Objects Older browsers that don’t support the HTML5 audio element instead rely on plug-ins to play embedded media clips To insert an embedded object such as a media player, you can nest the embed element within the audio element Browsers recognizing the audio element will attempt to load the audio clip that way New Perspectives on HTML, CSS, and XML, 4th Edition

Working with Embedded Objects <audio src=”overture.mp3”> <embed src=”overture.mp3” type=”audio/mpeg” width=”250” height=”10” /> </audio> New Perspectives on HTML, CSS, and XML, 4th Edition

Working with Embedded Objects The MIME types identify the type of data contained in the file New Perspectives on HTML, CSS, and XML, 4th Edition

Working with Embedded Objects The src, type, height, and width attributes constitute the basic HTML attributes for the embed element, but they do not specify how users interact with the embedded object New Perspectives on HTML, CSS, and XML, 4th Edition

Playing Web Video New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Video Digital video adds a visual element to a Web page as well as provides information Video files are composed of a series of single images called frames Many frames are sized to have width-to-height ratios or aspect ratios of 4:3, though theatrical releases typically have aspect ratios of 1.85:1 or 2.39:1 The video bit rate, which is the amount of data that has to be processed by the video player each second The number of frames shown in a period of time is the frame rate New Perspectives on HTML, CSS, and XML, 4th Edition

Exploring Digital Video New Perspectives on HTML, CSS, and XML, 4th Edition

Adding Video in HTML5 To add a video clip with HTML5 use <video> <source src=”url1” /> <source src=”url2” /> … </video> where url1, url2, etc. are the possible sources of the video clip. New Perspectives on HTML, CSS, and XML, 4th Edition

Adding Video in HTML5 New Perspectives on HTML, CSS, and XML, 4th Edition

Introducing the object Element The object element was introduced in the specifications for HTML 4 for the purpose of marking any kind of nontextual content The object element replaced the embed element, which was widely supported though never part of the previous HTML specifications released by the W3C <object attributes> parameters </object> New Perspectives on HTML, CSS, and XML, 4th Edition

Introducing the object Element New Perspectives on HTML, CSS, and XML, 4th Edition

Adding a Flash Player File To add a Flash player (.swf) file, use the object element <object data=”url” type=”application/x-shockwave- flash” width=”value” height=”value”> <param name=”movie” value=”url” /> parameters </object> where url is the location and filename of the SWF file, and parameters is other parameter elements that manage the appearance and actions of the player New Perspectives on HTML, CSS, and XML, 4th Edition

Adding a Flash Player File New Perspectives on HTML, CSS, and XML, 4th Edition

Embedding Videos from YouTube YouTube videos are embedded using either the YouTube Shockwave Flash player file (.swf) or, depending on each user’s device and playing preferences, an HTML5 video player. <object width=”value” height=”value”> <param name=”movie” value=”url” /> parameters <embed src=”url” type=”application/x-shockwave- flash” width=”value” height=”value” parameters /> </object> New Perspectives on HTML, CSS, and XML, 4th Edition

Embedding Videos from YouTube New Perspectives on HTML, CSS, and XML, 4th Edition

The object Element and ActiveX Internet Explorer supports a technology called ActiveX to play embedded media ActiveX employs reusable software components that can be run from within a variety of Windows programs Each ActiveX component is identified by a unique string of characters called the class id. New Perspectives on HTML, CSS, and XML, 4th Edition

The object Element and ActiveX New Perspectives on HTML, CSS, and XML, 4th Edition

The codebase Attribute When a browser encounters a plug-in or an ActiveX control that it doesn’t recognize, it usually leaves a blank space where the embedded object normally would appear One way of dealing with this problem is to provide browsers with information about where a working version of the plug-in or control can be downloaded New Perspectives on HTML, CSS, and XML, 4th Edition

The codebase Attribute <object classid=”clsid:02BF25D5- 8C17-4B23-BC80-D3488ABDDC6B” codebase=”http://www.apple.co m/qtactivex/qtplugin.cab”> parameters </object> New Perspectives on HTML, CSS, and XML, 4th Edition

Embedding an Applet New Perspectives on HTML, CSS, and XML, 4th Edition

Introducing Java Oak was developed by Sun Microsystems as an operating system intended to be used by common appliances and devices Oak was renamed Java in 1995 Each Java program works with a Java Virtual Machine (JVM) New Perspectives on HTML, CSS, and XML, 4th Edition

Applets and Java Virtual Machines New Perspectives on HTML, CSS, and XML, 4th Edition

Applets Applets are displayed as embedded objects on a Web page Several libraries of Java applets are available The popularity of Java has declined in recent years as more and more of its features can be duplicated with Flash or JavaScript The programming enhancements provided with HTML5 also will result in an even more reduced need for Java New Perspectives on HTML, CSS, and XML, 4th Edition

Working with Java Applets To embed a Java applet, use the object element <object type=”application/x-java- applet” width=”value” height=”value”> <param name=”code” value=”url” /> parameters </object> where the width and height attributes define the dimensions of the applet window, url specifies the location and filename of the Java file (usually the class file), and parameters represents the parameters associated with running the applet. New Perspectives on HTML, CSS, and XML, 4th Edition

Inserting Java Parameters New Perspectives on HTML, CSS, and XML, 4th Edition

Embedding Other Objects Inline images HTML files New Perspectives on HTML, CSS, and XML, 4th Edition