Building a Custom Video Player

Slides:



Advertisements
Similar presentations
Introduction to HTML5. History of HTML HTML first published HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0 HTML
Advertisements

© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Web Pages and Blocks Bronze Level – Optional. Contents Creating Web Pages Creating Blocks Ideas for Blocks Embedding content from other sites.
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.
CAEL 5012 Rich Internet Applications. What you need For this part of the course you will need access to a server with PHP and MYSQL which will be supplied.
SIG WEB January 31, 3PM. What is HTML5? What it is: Allows for better intergration of media consumption. A new open standard Provides new APIs.
Creating Your Own Website
Ajax-based startpage Web top Personal web portal Page aggregator –Netvibes, My Yahoo!, iGoogle, Page Flakes, Wakooz, and Microsoft Live. –Personalize.
Build a Free Website1 Build A Website For Free 2 ND Edition By Mark Bell.
Programming Games Basic HTML5 audio example. Catch-up. Work on basic video. Homework: Complete basic video.
Chapter 19: Adding JavaScript
Influence of Social Media
Title, meta, link, script.  The title looks like:  The tag defines the title of the document in the browser toolbar.  It also: ◦ Provides a title for.
Embedding CenterView and Hosting External Content.
Introduction to Applets CS 3505 Client Side Scripting with applets.
Programming Games Show your simple video. More video examples. Audio. Classwork/Homework: Produce more complex video program.
Processing.js.
Business 111 By: Tyler Zipperer Bus 111 By: Tyler Zipperer.
Cross Site Integration “mashups” cross site scripting.
Linking to an External Style Sheet Web Design Section 4-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Dr. Martin Zhao Sept 4, Topics HTML and related tutorials on w3schools.com Related HTML tags Adding interesting features using JavaScript What is.
Stylizing a Navigation Menu with CSS Web Design – Section 4-13 Part or all of this lesson was adapted from the University of Washington’s “Web Design &
LESSON 15 – UNIT 0 ADAPTING YOUR WEB SITE FOR MOBILE DEVICES.
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.
USING JAVASCRIPT TO SHOW AN ALERT Web Design Sec 6-2 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Understanding ID and Class in CSS Web Design – Sec 4-9 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
JavaScript Errors and Debugging Web Design Sec 6-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
A consistent social media presence is key to a good SEO strategy. Create engaging content that will encourage people to share. Encourage sharing on your.
THE FUTURE IS HERE: APPLICATION- AWARE CACHING BY ASHOK ANAND.
HTML5 Semantic
The HTML5 logo was introduced by W3C in 2010
Chapter 17 The Need for HTML 5.
Advanced HTML Tags:.
JQuery Fundamentals Introduction Tutorial Videos
Scripting - Client-side vs. Server-side Scripting
Dreamweaver – Setting up a Site and Page Layouts
Using JavaScript to Show an Alert
Essential Tags Web Design – Sec 3-3
Web Standards Web Design – Sec 2-3
Intro to Dreamweaver Web Design Section 8-1
Pre-Coding Web Design – Sec 3-1
Chapter 4: HTML5 Media - <video> & <audio>
Audio and Video on the Web
WELCOME Mobile Applications Testing
Application with Cross-Platform GUI
Important Each team needs to submit their part of the Final Project Rubric to me in . Log into and send the powerpoint slide to
Web Standards Web Design – Sec 2-3
Dreamweaver – Setting up a Site and Page Layouts
H5P: Using an Interactive Assessment Tool in Moodle
Context Is Everything Meaningful Alternative Text
Playing Audio (Part 1).
Playing Video (Part 1).
Client-Side Internet and Web Programming
SharePoint & jQuery: Better Together
Application Development A Tutorial Driven Course
© 2015, Mike Murach & Associates, Inc.
About Multimedia Files
Unit 6 part 3 Test Javascript Test.
HTML 5 Training HTML 5 SYMANTICS [Notes to trainer:
Introduction to HTML5.
Support for parents and guardians
HTML and CSS Basics.
Introduction to JavaScript & jQuery
Refocus. Refocus Rapid response Right messages.
Introduction to JavaScript
Murach's JavaScript and jQuery (3rd Ed.)
Information Technologies Anselm Spoerri PhD (MIT)
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

Building a Custom Video Player Web Design Sec 6-7 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials

Objectives Explain what an API is, and how you can use it to control the content of web pages. Use JavaScript to control the HTML5 video element.

Building Custom Video Contols Earlier in this course you learned to add video to web pages using the <video> element. You may have noticed that the built-in video player is slightly different in every browser. If you want a player that looks consistent across all browsers, or if you just a want a player that is uniquely your own, you can totally do that with JavaScript. In this lesson, you will use JavaScript to build custom controls for playing your video, and will use your custom controls to replace the browser's built-in controls.

The HTML5 Media API Once you've embedded media into your web page using the new HTML5 <audio> or <video> elements, you can control them using JavaScript code. This is because HTML5 has an API that enables external control of these elements. API stands for "application program interface", and it consists of a set of variables and methods that can be accessed by external scripts or programs.

APIs APIs are common on the web. A few popular examples include: Flickr API for managing photos YouTube API for managing videos Twitter API for creating new Twitter applications Facebook API for developing Facebook apps Google Maps JavaScript API

APIs The documentation for APIs such as those are technical and can be overwhelming at first, but buried within all the technical details are typically some simple examples to help you get started. The official documentation for the HTML5 media API is contained within the HTML5 spec. Today’s work gives you a much-simplified look at the basics.

Your Turn… Download the homework for today. Add buttons to control your video player. Make sure you customize the buttons to match your web page.

My graphics.html Page