Chapter 15 HTML 5 Video and Audio Intro to HTML5 “Computers and Creativity” Richard D. Webster, COSC 109 Instructor Office: 7800 York Road, Room 422 |

Slides:



Advertisements
Similar presentations
1. XP 2 * The Web is a collection of files that reside on computers, called Web servers. * Web servers are connected to each other through the Internet.
Advertisements

© 2002 D & D Enterprises 1 Linking Images For Navigation & Clickable Image Maps.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
3.02D HTML Overview 3.02 Develop webpages.
Introduction to Metview
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
Introduction to HTML, XHTML, and CSS
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
View-Based Application Development Lecture 1 1. Flows of Lecture 1 Before Lab Introduction to the Game to be developed in this workshop Comparison between.
Website Design What is Involved?. Web Design ConsiderationsSlide 2Bsc Web Design Stage 1 Website Design Involves Interface Design Site Design –Organising.
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
HTML Tags and Their Functions
How To Use Google Forms to Create A Test Quick Easy Self-Graded!! Instant Reports.
ABC Technology Project
Web TV Applications B.E. (Hons) in Computing Specialism in Multimedia Advanced Web Multimedia CM
SEARCHING MULTIMEDIA prepared by Literature Searching Team Library, Faculty of Medicine, UGM 2012.
Svetlin Nakov Telerik Corporation
Creating Tables in a Web Site
1 What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight.
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
Services Course Windows Live SkyDrive Participant Guide.
Getting Familiar with Web Pages 1 2 The Internet Worldwide collection of interconnected computer networks that enables businesses, organizations, governments,
Essentials for Design JavaScript Level One Michael Brooks
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
Dr. Alexandra I. Cristea XHTML.
25 seconds left…...
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Chapter 13 Web Page Design Studio
Use the buttons on the top to navigate through the presentation 1 PrevNext Menu.
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
Chapter 11 Media and Interactivity Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Chapter 11 Media and Interactivity Basics Key Concepts
HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
INF Web Design Using Multimedia on the Web Video - Part 1.
HTML 5 Tutorial Chapter 1 Introduction. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Chapter 8 – Part I Interactive Multimedia Authoring with Flash: Animation “Computers and Creativity” Richard D. Webster, COSC 109 Instructor Office: 7800.
Chapter 15 HTML 5 Video and Audio Intro to HTML5 1.
Chapter 14 Introduction to HTML
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.
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.
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Computer Concepts 2014 Chapter 7 The Web and .
Programming Games Show your cannonball. HTML5 video. Miro. Classwork/Homework: Acquire video, convert to multiple formats, and produce simple (just html)
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
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.
U NDERSTAND THE W EB AND D IGITAL C OMMUNICATIONS P ATHWAY 4.02 U NDERSTAND HOW W EBPAGES ARE CREATED AND USED.
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
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 Structure & syntax
Chapter 9 HTML 5 Video and Audio
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Chapter 9 HTML 5 Video and Audio
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Chapter 4: HTML5 Media - <video> & <audio>
HTML 5 Tutorial Chapter 1 Introduction.
Essentials of Web Pages
Lesson 5: Multimedia on the Web
Presentation transcript:

Chapter 15 HTML 5 Video and Audio Intro to HTML5 “Computers and Creativity” Richard D. Webster, COSC 109 Instructor Office: 7800 York Road, Room 422 | Phone: (410) website: 1

In this lecture, you will learn: 2 A list of new features in HTML5 Key differences between HTML5 and XHTML Basic structure of an HTML5 document

HTML 5 Latest revision of HTML Backward compatible New key features: – video and audio tags – content-specific tags – tags for form elements – canvas element – storage of user data 3

Video and Audio Tags Allow simple code for adding video and audio on Web pages Video and audio are played back by the Web browser's built-in player, not plug-ins Focus of this chapter 4

Content-Specific Tags Examples:,,,,,,, Allow mark up content by semantics Provide a standardized system to classify the information on Web pages Tags may contain attributes 5

Attributes (see text page 476 for more info) Attributes of a tag specific properties of the element that is marked up by the tag. Examples: 1. the id attribute assigns a name to the element. The following shows the HTML code where an id attribute is added to a tag This is a paragraph. 2. The poster attribute is used to display an image in place of a video before the video starts. 6

Form Elements Examples: date picker, color picker, numeric stepper, new input types ( , url, and search) To enhance user experience of filling out forms 7

Canvas Allows drawing graphics and placing images dynamically inside it using JavaScript Visual content inside it can be scripted to change over time (hence animation) and in response to the user interaction (mouse clicks and key presses) Used for animation and game development 8

Storage of User Data Approx. 5 MB depending on browsers Larger data limit than cookies (4 KB limit) Storage and retrieval of data on the user's device; i.e., no need for databases or user accounts set up on the server 9

HTML 5 Basic Structure This is a title of the page This is the content of the Web page 10

An HTML 5 Document OK to still follow the rules of XHTML This is a title of the page This is the content of the Web page. Arbitrary: cases for tags, pairing tags, uses of quotation marks. Still a valid HTML 5 document. This is a title of the page This is the content of the Web page. 11 Easy to readHard to read

Traditional methods of adding video and audio on Web pages vs. HTML5 and 12 Key difference: What applications play the media Traditional method (non-HTML5): browser plug-in (such as Flash Player and QuickTime) or external application (such as QuickTime player) Using HTML5 and : browser's built-in player

Effects on User Experience HTML5 Video and Audio – Each Web browser may support different features of video and audio playback – Each Web browser has its own visual design of the player controller Traditional non-HTML5 – The same plug-in or external application has the same interface across Web browsers 13

Screenshot of Video Player: Firefox Controller: Overlaid on the video; appears when mouse over the video current timetotal time

Screenshot of Video Player: Safari 5 15 Controller: Added at the bottom; always showing current timefull screen

Screenshot of Video Player: Chrome Controller: Overlaid on the video; appears when mouse over the video current time

Screenshot of Video Player: IE 9 17 Controller: Overlaid on the video; appears when mouse over the video audio volumecurrent time

Use of Tag The simplest form of tag to add an HTML5 video on a Web page: 18 source attributefile path of the media controls attribute: to show the controller

Use of Tag The simplest form of tag to add an HTML5 audio on a Web page: 19 source attributefile path of the media controls attribute: to show the controller

HTML 5 Video Formats H.264 MPEG-4/AVC:.mp4 OGG:.ogg,.ogv WebM:.webm 20

HTML 5 Audio Formats WAV:.wav OGG Vorbis:.ogg,.oga MP3:.mp3 AAC:.m4a 21

Browser Support for HTML 5 Video H.264 MPEG/AVCOGGWebM Firefox Safari3.0+ IE9.0+ ChromeYes, but will discontinue support Opera Note: No one browser supports all three video formats No one video format is supported by all browsers

Browser Support for HTML 5 Audio WAVOGG VorbisMP3AAC Firefoxxx Safarixxx IExx Chromexxxx Operaxx 23 Note: No one audio format is supported by all browsers

Why Fallback Strategies? Not all browsers support HTML5 video and audio Use fallback strategies to provide alternatives for those browsers 24

Basic Idea of Fallback Strategies In element, add extra HTML code, which is not HTML5 specific This extra code tells the browser what to display If the browser does not support HTML5 video and audio, it will: – ignore the and tags – use that extra code intended for fallback 25

Fallback Strategies Use of Flash Video – Has been widely used on the Web – Almost all browsers have Flash Video Player Use of links to download video – Simply add links for users to download the video – Also a fallback for devices that do not support Flash video playback Use of a static image – Simply use an image (often a representative frame of the video) in place of the video – Also a fallback for devices that do not support Flash video playback 26

Creating HTML5 Video and Audio If your video/audio editor does not support exporting all or any of the HTML5 video/audio formats, you can: 1.Export your video/audio to a common format, e.g. – Video: QuickTime (.mov), Flash Video (.f4v) – Audio: WAV (.wav) 2.Convert your video/audio to HTML5 formats 27

Free Tools for Converting Video/Audio to HTML5 Video/Audio Formats ToolWeb SiteSupported OSOutput MediaCoder Windows, Mac OS, Linux Video: MP4, WebM, Ogg Audio: MP3, Ogg, AAC HandBrake Windows, Mac OS, Linux Video: MP4 Firefogg (As a Firefox 6+ plug-in) Video: WebM, Ogg VLC Media Player Windows, Mac OS, Linux Audio: MP3, AAC, Ogg 28