Programming Games Basic HTML5 audio example. Catch-up. Work on basic video. Homework: Complete basic video.

Slides:



Advertisements
Similar presentations
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.
Advertisements

HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript.
The Web Warrior Guide to Web Design Technologies
Programming games Classwork: Show Favorite Sites. Show coin toss. Review concepts. Crooked coin toss. Homework: Complete coin toss examples. Upload files.
Video, audio, embed, iframe, HTML Form
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 
Programming Games Computer science big ideas. Computer Science jargon. Show virtual dog Homework: [Catch up: dice game, credit card or other form.] Plan.
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.
PLUG INS flash, quicktime, java applets, etc. Browser Plug-ins Netscape wanted a method to extend features of the browser became an unofficial standard.
Programming games Flash drawing trick(s). Rock paper scissors. Classwork: Complete rock paper scissors.
Create Interfaces College exercise. Continue HTML5: HTML5 logo, drawing images. Coin toss. Homework: acquire video & audio.
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
Programming Games Review for midterm. Work session. Homework: Prepare for midterm.
Programming games Examples: Audio example. Google Maps api. Classwork: show more complex video. Classwork/Homework: Find place (lat and long) for basic.
Android SMIL Messenger Presented By: Alex Povkov Brad Gardner Jeremy Spitzig Santiago Jamriska.
Programming Games Show your cannonball. HTML5 video. Miro. Classwork/Homework: Acquire video, convert to multiple formats, and produce simple (just html)
Chapter 19: Adding JavaScript
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
Programming Games Google Map API examples. CSS. Classwork/homework: Catch up. Upload work. Show your [more] complex Google Maps API example. Plan your.
Programming Games Show your simple video. More video examples. Audio. Classwork/Homework: Produce more complex video program.
Processing.js.
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 2: What is JavaScript?
Programming games Flash drawing trick(s). Past due: Your completion of rock-paper-scissors) Classwork: Bouncing ball: read tutorial. Start coding.
Programming games Reflection Bouncing things, Memory Server-side: Survey. ActionScript 2 examples. Homework: Finish Video or Audio. Post proposal for your.
Programming games Show your version of Bo the dog. Start cannonball Preview: video, audio work session (cannonball) Homework: Cannonball with ball in a.
Creating Databases for Web Applications Twitter example Classwork/homework: Projects.
JavaScript - A Web Script Language Fred Durao
JavaScript Tutorial 1 - Introduction to JavaScript WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Introduction to JavaScript – A First.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Documentation javadoc. Documentation not a programmer's first love lives in a separate file somewhere usually a deliverable on the schedule often not.
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on your cannonball. Homework: Finish.
Programming Games [Show Google Maps project.] Demonstrate more examples. Classwork/Homework: Decide on final project. Post proposal to moodle.
Dr. Martin Zhao Sept 4, Topics HTML and related tutorials on w3schools.com Related HTML tags Adding interesting features using JavaScript What is.
Programming games HTML/JavaScript basics Functions, events, forms Classwork: [Show favorite sites.] Coin toss. Homework: GET WEB SPACE. Complete coin toss.
PLUG INS flash, quicktime, java applets, etc. Browser Plug-ins Netscape wanted a method to extend features of the browser became an unofficial standard.
Using Plug-Ins Adding Multimedia to an HTML Document.
Programming games Problems. Schedule Various examples. Homework: rps, bo (don't go back to do this), cannonball, Video or Audio should be complete. Now.
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Working with Windows (No audio component) © Dr. David C. Gibbs
Creating User Interfaces HTML5 video & audio. Role of video and audio. Homework: Complete your own [small/simple] HTML5 video and audio projects.
Programming Games Show slide show (on your site). Bouncing something. Video element. Bouncing video element. Bouncing video drawn on canvas. Bouncing video.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Creating User Interfaces VoiceXML. Examples. Classwork/Homework: Make proposal and start work on your VoiceXML project.
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
Programming Games Reprise Credit Cards! Reprise Binary. Overall time limit, setTimeout Homework: [Show virtual something.] Make proposal as reply to my.
Programming games Show work on site. Work on slide show. Timed event for bouncing ball. Homework: [Finish slide show and upload to site.] Acquire a short.
Web Design, 5 th Edition 6 Multimedia and Interactivity Elements.
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
“Under the hood”: Angry Birds Maze
Chapter 4: HTML5 Media - <video> & <audio>
Learn HTML Basics Lesson No : 10
Building a Custom Video Player
H5P: Using an Interactive Assessment Tool in Moodle
Programming Games [Show Google Maps project.] Demonstrate more examples. Classwork/Homework: Decide on final project. Post proposal to moodle. 1.
Audio and Video Chapter 10.
HTML5 Media.
Client-Side Internet and Web Programming
Basic HTML and Embed Codes
Tutorial 6 Creating Dynamic Pages
Programming games Classes and objects (used for Jigsaw, Bouncing stuff, other projects) Homework: Complete cannonball. Video or Audio. Your own project.
Catchup. Work on project.
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on animation project. Homework: Finish.
Murach's JavaScript and jQuery (3rd Ed.)
New features in Moodle From 3.4 to 3.6.
Show your animation project. HTML5 video. Miro.
Presentation transcript:

Programming Games Basic HTML5 audio example. Catch-up. Work on basic video. Homework: Complete basic video.

Terminology HTML has elements. Element defined by opening and closing tags. Elements are within elements. The video element has a video tag, 3 source tags/elements, content to give message for non-compliant browsers, closing video tag. The video and the source tags contain attributes.

Remember HTML JavaScript has multiple ways to specify events and event handling. –In HTML tags –Using setInterval and setTimeout –Using addEventListener vid.addEventListener(‘ended’,restart,false); NOTE: I’m assuming vid is set to video element and restart is a function…..

Objects An HTML document is described by the Document Object Model. –Objects (code and data) Attributes (aka properties) that are values Methods that are functions to be invoked using the properties of the objects Google Maps Application Programming Interface IS set of objects—methods and attributes we can access –Use a script element referencing external file

Basic audio example Demonstrate playaudio.html playaudio.html Need to acquire audio. Use Miro Video Converter (or other tools) to produce mp3 and wav versions (assuming you didn't start with wav version). Write HTML5 –note: I added an image. You can add whatever you want.

playaudio.html Esther at the piano Your browser does not accept the audio tag.

Classwork/homework Catch up: bouncing ball, cannonball!!!! Complete your basic video –Do consider making your own very short video. –If you are caught up, make your own audio. Probably record to a wav file? Use Miro Video Converter to produce wav and mp3. Look ahead: read over the tutorial for Google Maps API Version 3.

Teaser Will show example combining Google Maps API and video and audio Consult HTML5 and JavaScript Projects other…

Reminders You, the maker/creator/programmer, need to check all possibilities: –Cannonball hitting target –Cannonball plopping in front of target –Cannonball flying over target Miro Video Converter for video and audio –There are other programs. If you find one and can comment on it, make a posting. –Converting takes longer than running time of clip

Extra credit Find discussion on the different video formats, including patent issues. Read, summarize and put in working link as post on moodle. Get HTML5 video working on Android. May need to download code… –Make posting…

Why… Do you make 3 versions of your video? Why do I ask you to make 3 versions of your video? –To prepare for all browsers. May not be necessary in the future, but it is now. –To make sure you can understand how to do it, using Miro Video Converter AND to manage multiple files

Think… About adding video to one of your applications Adding video using HTML5 video element –NOT putting in a link to YouTube Look also at my examples –The video part generally is not the most complex thing. –Practice scanning code and then looking at parts in detail. Look at function definitions AND function calls & invocations. Look at data.