CIS 1310 – HTML & CSS 11 Web Multimedia & Interactivity.

Slides:



Advertisements
Similar presentations
Web Development & Design Foundations with HTML5
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
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.
HTML Structure & Web Design Basics
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
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.
Web Development & Design Foundations with XHTML
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues Animation Digital Audio fundamentals Browser Plug-ins Java Applets.
Web Development & Design Foundations with HTML5 7th Edition
Define objects and their relationships to multimedia Explain the fundamentals of C, C++, Java, JavaScript, JScript, C#, ActiveX and VBScript Discuss security.
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.
HYPERTEXT MARKUP LANGUAGE (HTML)
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Chapter Objectives Explain Web page multimedia issues
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Session: 11. © Aptech Ltd. 2HTML5 Audio and Video / Session 11  Describe the need for multimedia in HTML5  List the supported media types in HTML5 
Using Multimedia on the Web
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
Web Design, 3 rd Edition 6 Multimedia and Interactivity Elements.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: Multimedia on the Web.
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.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
1 Web Developer Foundations: Using XHTML Chapter 10 Helper Applications and Plug-in Concepts.
Web Developer & Design Foundations with XHTML
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
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.
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.
Internet Business Foundations © 2004 ProsoftTraining All rights reserved.
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
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.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
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.
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
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.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Lesson 5 MULTIMEDIA. Multimedia on the Web has expanded rapidly as broadband connections have allowed users to connect at faster speeds. Almost all Web.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Copyright © Terry Felke-Morris Web Development & Design Foundations with HTML5 8 th Edition CHAPTER 11 KEY CONCEPTS 1.
Using Multimedia on the Web
Project 1 Introduction to HTML.
Tutorial 7 Working with Multimedia
HTML5 Level II Session II
11 Web Multimedia & Interactivity.
Integrating Multimedia: Sound, Video and More
Basics of Web Design Chapter 11 Media and Interactivity Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D.
Working with Multimedia
Web Development & Design Foundations with H T M L 5
About Multimedia Files
Lesson 5: Multimedia on the Web
Presentation transcript:

CIS 1310 – HTML & CSS 11 Web Multimedia & Interactivity

CIS 1310 – HTML & CSS Learning Outcomes  Describe the Purpose of Plugins, Containers, Codecs  Describe Types of Multimedia Files on the Web  Create Links to Multimedia Files  Configure a Audio & Video on a Web Page  Create an Interactive Image Gallery with CSS  Configure CSS3 Transform & Transition Properties  Describe the Purpose of the HTML5 Canvas Element

CIS 1310 – HTML & CSS Multimedia Terminology  Plugin Component Added to Browser to Provide Additional Capability  Container Contains Media & Metadata Designated by File Extension  Codec Algorithm Used to Compress Media

CIS 1310 – HTML & CSS Audio  Sample Digital Measurement of an Analog Sound Sampling Rate Number of Samples per Second in kHz Sampling Resolution Precision Measured in Bits Channel Stereo | Mono bit Stereo (43kb/sec) — Phone bit Stereo (86kb/sec) — Radio bit Stereo (172kb/sec) — CD

CIS 1310 – HTML & CSS Audio  Formats Uncompressed.wav Wave File.aiff Audio Interchange File Format.au Sun UNIX sound file Lossless - Compressed without Data Loss. m4a MPEG 4 Audio Lossy - Compressed with Data Reduction.mp3 MPEG-1 Audio Layer-3.oggOgg Vorbis (open-source)

CIS 1310 – HTML & CSS Video  Frame Individual Image  Frame Rate fps — Number of Frames per Second DVD — 30 fps

CIS 1310 – HTML & CSS Video  Formats.avi Microsoft Audio Video Interleaved.flv Flash Video File.movQuicktime.mpgMPEG (Motion Picture Experts Group).m4v.mp4 (MPEG-4).ogv Ogg Theora (open-source).webmVP8 codec (open video format, free).wmvWindows Media File

CIS 1310 – HTML & CSS Copyright Issues  Only Publish Media That You Have: Personally Created Obtained the Rights or License To Use  You Must Request Permission to Use Media If Created by Another Person  Media Automatically Copyrighted Even if There is No Copyright Mark or Date Including Web Pages

CIS 1310 – HTML & CSS Copyright Issues  Fair Use Clause of the Copyright Act Quotation of Excerpts in a Review or Criticism Short Quotation in a Scholarly or Technical Work Use in a Parody Summary of an Address or Article Reproduction by a Teacher or Student Small Part of a Work to Illustrate a Lesson

CIS 1310 – HTML & CSS Copyright Issues  Creative Commons Standardized Way to Give Permission to Use Creative Work License Types Attribution May Copy, Distribute, Display, Perform, & Make Derivative Works If Author or Licensor is Given Credit Share-alike May Distribute Derivative Works Only if License is Identical to Original Work Non-commercial No Derivative Works

CIS 1310 – HTML & CSS Media Types  External Accessed Through Hyperlinks Retrieved Only if User Desires  Inline Embedded into Web Page as an Object Can be Supplemented with Other Material i.e., Description …

CIS 1310 – HTML & CSS <object>  Attributes data=“URL” Defines a URL that Refers to the Object's Data height=“#” Specifies Height of Embedded Object name=“name” Specifies Name for Object type=“MIME type” Defines the MIME Type of Data Specified in data Attribute width=“#” Specifies Width of Embedded Object

CIS 1310 – HTML & CSS <object>  MIME Multipurpose Internet Mail Extensions Standard Identifier Used on Internet Indicates Type of Data that File Contains Use Has Expanded From SMTP To HTTP

CIS 1310 – HTML & CSS <object>

<param>   Attributes name=“unique name” Required value=“#”

CIS 1310 – HTML & CSS <param>

Adobe Flash  Popular Multimedia Application  Adds Visual Interest & Interactivity to Web Pages  Flash Movies Saved in.swf Files  Perception of Speedy Display .swf Files Play as They Download  Flash Player Free Browser Plug-in Widely Installed on Browsers

CIS 1310 – HTML & CSS HTML 5 Multimedia Elements  … Defines a Sound, Such as Music or Other Audio Stream Attributes autoplay=“autoplay” Specifies Audio Will Start Playing as Soon as it is Ready controls=“controls” Specifies Controls Should be Displayed loop=“loop” Specifies Audio Will Start Over Again, Every Time it is Finished preload=“auto | metadata | none” Specifies How Audio Should be Loaded When Page Loads src=“url” Specifies the URL of the Media File

CIS 1310 – HTML & CSS HTML 5 Multimedia Elements  … Defines a Video, Such as Movie or Other Video Stream Attributes autoplay=“autoplay” Specifies Audio Will Start Playing as Soon as it is Ready controls=“controls” Specifies Controls Should be Displayed height=“pixels” Sets the Height of the Video Player loop=“loop” Specifies Audio Will Start Over Again, Every Time it is Finished muted=“muted” Specifies Audio Output of the Video Should be Muted

CIS 1310 – HTML & CSS HTML 5 Multimedia Elements  … Attributes poster=“url” Specifies Image to be Shown Until User Clicks Play Button preload=“auto | metadata | none” Specifies How Audio Should be Loaded When Page Loads src=“url” Specifies the URL of the Media File width=“pixels” Sets the Width of the Video Player

CIS 1310 – HTML & CSS HTML 5 Multimedia Elements  Specify Multiple Media Resources for Media Elements Attributes media=“media_query” Specifies the Type of Media Resource src=“url” Specifies the URL of the Media File type=“MIME_type” Specifies the MIME Type of the Media Resource  Defines a Container for a Plug-in

CIS 1310 – HTML & CSS CSS Image Gallery  Configure each thumbnail image: Golden Gate Bridge  CSS #gallery span { display: none; } #gallery a:hover span { display: block; position: absolute; top: 10px; left: 300px; text-align: center; }

CIS 1310 – HTML & CSS CSS 3 Transform  Allows Various Transformations of an Element  Transform: matrix(n,n,n,n,n,n) matrix3d(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n) perspective(n) rotate(angle) scale(x,y) skew(x-angle,y-angle) translate(x,y) translate3d(x,y,z)

CIS 1310 – HTML & CSS CSS 3 Transition  Changes Property Values Displays in a Smooth Manner Over a Specified Time  transition- property Specifies Name of CSS Property Effect is for duration Specifies Seconds or Milliseconds Effect Takes to Complete timing Specifies Speed Curve of Effect Delay Defines When Effect Starts

CIS 1310 – HTML & CSS Java Applets  Program Included in a Web page Compiled Translated into an Encoded Form Called Byte Code.  Uses the.class File Extension  Java Virtual Machine (JVM) Interprets Byte Code i nto Proper Machine Language for OS After Translation, Applet is Executed Appears on Web Page Implemented Through

CIS 1310 – HTML & CSS JavaScript & jQuery  JavaScript Scripting Language Developed by Netscape Enable Web Authors to Design Interactive Sites  jQuery Free, Open Source JavaScript API (Library) Navigate Documents, Handle Events, Perform Animations Add Ajax Interactions to Web Pages Developed by John Resig Licensed Under MIT and GNU General Public Licenses

CIS 1310 – HTML & CSS Ajax  Asynchronous JavaScript and XML Existing Technologies Used in New Way Standards-based XHTML & CSS Document Object Model (DOM) XML (and Related XSLT Technology) Asynchronous Data Retrieval Using XMLHttpRequest Used by JavaScript to transfer XML & Other Text Data To / From Web Server Using HTTP JavaScript

CIS 1310 – HTML & CSS HTML 5 APIs  Geolocation Allows Web Page Visitors to Share Geographic Location Location Determined By IP Address Wireless Network Connection Local Cell Tower GPS Hardware Javascript Works with Latitude & Longitude Coordinates

CIS 1310 – HTML & CSS HTML 5 APIs  Web Storage Provides Two New Ways to Store Client Side Information Increases Amount of Data that Can be Stored 5Mb Per Domain Localstorage Object Stores Data without Expiration Date Sessionstorage Object Stores Data Only for Current Browser Session Javascript Used to Work with Object Values