HTML5 Audio & Video By Derek Peacock

Slides:



Advertisements
Similar presentations
PART IV - EMBED VIDEO, AUDIO, AND DOCUMENTS. Find a video on Youtube.com: Search for a video, then look for the Embed code. Copy this code into the HTML/JavaScript.
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.
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.
Video, audio, embed, iframe, HTML Form
INF Web Design Using Multimedia on the Web Video - Part 1.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
 What I hate about you things people often do that hurt their Web site’s chances with search engines.
Basics of HTML. Example Code Hello World Hello World This is a web page.
CHAPTER 8: Enhancing a Website Session 1. Objectives Embed a YouTube video in your website Insert a slideshow in your website Use Google fonts in your.
Embedding Videos. Adding Videos to Our Website: Videos can make our pages more interesting and engaging. Most video-hosting websites, such as YouTube,
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.
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.
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.
Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.
Creating your Webpage with tables. This is a 2 column by 1 row table!
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Adding Sound.
Programming Games Show your cannonball. HTML5 video. Miro. Classwork/Homework: Acquire video, convert to multiple formats, and produce simple (just html)
Creating webpages in Google Sites. 1- Create a Gmail account.
Videos. Adding Videos to a Web Page Videos can make our pages more interesting and engaging. Most video-hosting services, such as YouTube, will provide.
audio video object Options: controls autoplay Need to define height and width Options: controls autoplay.
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.
Web Design (8) Images (2). My Holiday Photos An exercise in adding and linking images. Create a new website folder calling it ‘My Holiday Photos’. In.
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.
HTML (Advanced) -forms, iframe, audio, video. Outline – Forms – iFrames – Audio/Video.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
Simple steps of using Google Earth to prepare Field Study report Objectives This simple guide uses Google Earth, the free version for students to organize.
CHAPTER 10 AUDIO AND VIDEO. MEDIA PLAYER API HTML5 contains an API (Application Programming Interface) for controlling audio and video players embedded.
How To Upload YouTube Video?. Copy The Video From Your Camera To Your Computer Before you upload the video to YouTube, make any edits that.
HTML Structure & syntax
Chapter 9 HTML 5 Video and Audio
Advanced HTML Tags:.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Chapter 9 HTML 5 Video and Audio
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.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Links and Comments in HTML5
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Videos.
Embedding Media into Web Pages
Chapter 4: HTML5 Media - <video> & <audio>
Audio and Video on the Web
Learn HTML Basics Lesson No : 10
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Simple steps of using Google Earth to prepare Field Study report
Tutorial 7 Working with Multimedia
HTML5 Level II Session II
Playing Audio (Part 2).
Audio and Video Chapter 10.
Essentials of Web Pages
Playing Audio (Part 1).
Playing Video (Part 2).
Adding Music to Your Google Slides Presentation
Playing Video (Part 1).
HTML5 Media.
Client-Side Internet and Web Programming
Insertimi i audiove/videove
Basic HTML and Embed Codes
Working with Multimedia
How to add audio and video to your website
Videos.
Embedding Videos.
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Show your animation project. HTML5 video. Miro.
Presentation transcript:

HTML5 Audio & Video By Derek Peacock 2 July, 2019 HTML5 Audio & Video By Derek Peacock Dr Derek Peacock

HTML5 Audio & Video 2 July, 2019 Linking & Embedding <iframe width="420" height="315“ src=“http://www.youtube.com/...” frameborder="0" allowfullscreen> </iframe> Linking simply provides hyperlinks to an external web page on another web server such as YouTube. Embedding provides a similar link to the external web server, but the video is embedded in the local web page and can be played without switching pages. In the above example <iframe> is used to provide a frame inside of which the video is enclosed. The video itself is part of another web site (YouTube in this case). Iframes were an earlier technology used to break a web page up into separate frames (each frame was normally a separate file). Dr Derek Peacock

Embedding YouTube HTML5 Audio & Video 2 July, 2019 To get the code to embed a YouTube video click on Share, and then click on Embed Dr Derek Peacock

Embed Code HTML5 Audio & Video 2 July, 2019 YouTube provides code suitable for embedding, the code needs to be copied and pasted (in code view) into the right position in a web page. The window size for the displayed video can be selected before copying the code. Adobe and other web sites provide similar facilities. Dr Derek Peacock

HTML5 Audio & Video 2 July, 2019 HTML5 Native Video <video src="HTML5Sample.mov“ controls> </video> To use a video in html5 the basics are very simple, a <video> tag with the source indicated by the src attribute, and a play and pause control added by the controls attribute. The size of the window is automatically adjusted to suite the native size of the video being played. Dr Derek Peacock

Browser Support HTML5 Audio & Video 2 July, 2019 There are three native formats to choose from, but there are not universally supported. To provide support for all browsers you need to provide the video in at least two formats, MP4 (H.264) and Ogg Theora. Alternatively Google have devised a new WebM format which could be used instead of Ogg. Dr Derek Peacock

HTML5 Audio & Video 2 July, 2019 Video Converters Miro Video Converter: http://www.mirovideoconverter.com/ Handbrake: http://handbrake.fr/ Mpeg Streamclip: http://www.squared5.com/ There are several free video converters available that will convert from a variety of formats into a choice of destination formats. Miro Video Converter supports all the new formats, unfortunately it failed to convert my mov file to MP4 or WebM. Mpeg Streamclip managed to convert it to MP4, but not WebM Dr Derek Peacock

HTML5 Audio & Video 2 July, 2019 Typical Code <video controls width="640" height="480"> <source src="../Media/BradgatePark2.mp4"> <source src="../Media/BradgatePark2.theora.ogv"> <p>Browser does not support MP4 or Ogg Video</p> </video> To provide support for multiple browsers, you can list alternative <source> and in this case if ogg and MP4 are not supported then there will be a message on the screen saying so. A link to download the video might however be more useful. Dr Derek Peacock

HTML5 Audio & Video 2 July, 2019 HTML5 Audio <audio controls> <source src="Audio/MinuteWaltz.mp3“ type="audio/mp3"> <source src="Audio/MinuteWaltz.ogg“ type="audio/ogg"> <p>No Support for mp3 or ogg!</p> </audio> In a similar way HTML5 supports native audio, and again for multiple browser support you need to provide at least two formats. Most browsers support MP3 and Ogg. The Controls attribute provides a play and pause button. There are other attributes that can be added such as autoplay and loop. Dr Derek Peacock