Chapter 15 HTML 5 Video and Audio Intro to HTML5 1.

Slides:



Advertisements
Similar presentations
What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
Advertisements

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 |
HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
Iframes & Images Using HTML.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 17: Video, Audio, and Other MultiMedia.
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
SHAREPOINT PAKISTAN USER GROUP #1 SHAREPOINT COMMUNITY IN PAKISTAN AND ASIA HTML5 and SharePoint 2013.
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
 A markup language  Structures content on the internet  Commonly used by web browsers.
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.
Website design basics QUME Learning objectives Understand the basic elements of a Web page and how it is produced Be aware of different approaches.
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.
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues Animation Digital Audio fundamentals Browser Plug-ins Java Applets.
HTML Advanced: HTML 5. Welcome This slideshow presentation is designed to introduce you to HTML 5. It is the third of three HTML workshops available at.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Chapter 14 Introduction to HTML
CS 415 N-Tier Application Development By Umair Ashraf July 16,2013 National University of Computer and Emerging Sciences Lecture # 12 HTML/ XHTML/ HTML5.
COM 205 Multimedia Applications
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.
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.
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.
CPSC 594B: Software Engineering Project Lecture 1: Introduction to HTML5 Lecturer: Ayman Issa Office: ICT 555.
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 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Using HTML 5.  HTML 5 uses a standard method to embed audio into Web pages.  Prior to HTML 5, browser plug-ins or separate applications such as Windows.
Computer Concepts 2014 Chapter 7 The Web and .
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
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.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
HTML Advanced: HTML 5. Introduction to HTML 5 These slides are based on source material found at the w3schools.com website.
Chapter 13-Tools for the World Wide Web. Overview Web servers. Web browsers. Web page makers and site builders. Plug-ins and delivery vehicles. Beyond.
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.
JavaScript - A Web Script Language Fred Durao
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.
Graduate School of Library and Information Science LIS 753 Introduction to HTML 5 By: Yijun Gao Week Three.
U NDERSTAND THE W EB AND D IGITAL C OMMUNICATIONS P ATHWAY 4.02 U NDERSTAND HOW W EBPAGES ARE CREATED AND USED.
PLUG INS flash, quicktime, java applets, etc. Browser Plug-ins Netscape wanted a method to extend features of the browser became an unofficial standard.
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
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.
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.
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
Let’s look what flash can do: OK, that wasn’t flash! That was HTML5.
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.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
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
Chapter 9 HTML 5 Video and Audio
The HTML5 logo was introduced by W3C in 2010
© 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.
Chapter 8 Introduction to HTML
© 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.
Audio and Video Chapter 10.
Essentials of Web Pages
Lesson 5: Multimedia on the Web
Show your animation project. HTML5 video. Miro.
Presentation transcript:

Chapter 15 HTML 5 Video and Audio Intro to HTML5 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 5

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

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 7

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 8

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

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. 10 Easy to readHard to read

Traditional methods of adding video and audio on Web pages vs. HTML5 and 11 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 12

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 14 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 16 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: 17 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: 18 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 19

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

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 22 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 23

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 24

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 25

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 26

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 27