HTML and Media More than just images.

Slides:



Advertisements
Similar presentations
Create a Web Site with Publisher 2000 for Marilyn Seguins Class.
Advertisements

© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
FTP Using FileZilla CS10001 – Computer Literacy. Step 1: Understanding the Interface Quickconnect Bar Message Log Area Local site navigation (either lab.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
Tutorial 5 Downloading and Storing Data. XP Objectives Learn what FTP is and how it works Explore how to use a Web browser to transfer files Navigate.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Using FileZilla to FTP CS10001 – Computer Literacy Kent State University.
Creating and Publishing Your own website
How to Establish a Blog. What is a Blog A blog is a collection of informational articles/ideas intended to update a viewer on new information associated.
Hypertext Markup Language (HTML) Created by Sarah Dooley & Amanda Foster Edited and presented by Caroline Hallam September 9, 2014.
The Internet & The World Wide Web Notes
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
Creating a Web Page HTML, FrontPage, Word, Composer.
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.
Getting Started with Dreamweaver
Accessing Barney Off- Campus How can I get my H: files when I am not on the GU network? Business 111 Edward Mitchell Fall 2006.
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Websites 101 Technology Committee UPSOM. Web Class – Goals  Make a simple web page (or series of pages)  Upload that page to the internet  Feel comfortable.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Dreamweaver An introduction to Dreamweaver by a beginner who can show you the rudiments of quickly and easily creating a web site. An attempt to offer.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Creating a Web Site Using 000webhost.com The 000webhost.com Site You will be required to create an account in order to use their host computer 000webhost.com.
Welcome to FileZilla! FileZilla is a File Transfer Protocol (FTP) front-end that will allow you to upload podcasts and other media files to a server (the.
Saving PowerPoint Presentations as Web Pages Your Logo Here Open the PowerPoint Presentation. To convert to a format compatible with web browsers, launch.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
FTP Using FileZilla CS10001 – Computer Literacy. Step 1: Understanding the Interface Quickconnect Bar Message Log Area Local site navigation (either lab.
Website Design:. Once you have created a website on your hard drive you need to get it up on to the Web. This is called "uploading“ or “publishing” or.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
1 How to Publish Your HTML Page on the Web. Every USF Student has a website 2 Your Net ID You have a directory on the server.
Advanced HTML Tags:.
Getting Started with Dreamweaver
Tonga Institute of Higher Education IT 141: Information Systems
Chapter 10: Web Basics.
3.02H Publishing a Website 3.02 Develop webpages..
CS7026: Authoring for Digital Media HTML Authoring
Imaging and Design for Online Environment
How to Create Static and Animated PowerPoint Slides
Hillsborough Community College
Lecture: Protocols in Detail
Chapter 4: HTML5 Media - <video> & <audio>
Audio and Video on the Web
بسم الله الرحمن الرحيم.
BTEC NCF Dip in Comp - Unit 15 Website Development Lesson 12 – Publish and Test Mr C Johnston.
Getting Started with Dreamweaver
Collaboration with Google Docs
Playing Audio (Part 2).
Telnet/SSH Connecting to Hosts Internet Technology.
CoreFTP.
Arden University FTP Induction Resource
Part 2 Setting up a web server the easy way
Essentials of Web Pages
Playing Video (Part 2).
HTML5 Media.
Client-Side Internet and Web Programming
Tonga Institute of Higher Education IT 141: Information Systems
CoreFTP.
Part 2 Setting up a web server the easy way
Getting Started with Dreamweaver
CGS 3175: Internet Applications Fall 2009
4.02 Develop web pages using various layouts and technologies.
Tonga Institute of Higher Education IT 141: Information Systems
Lesson 5: Multimedia on the Web
TC 310 The Computer in Technical Communication
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Show your animation project. HTML5 video. Miro.
Presentation transcript:

HTML and Media More than just images

HTML Originally designed for sharing scientific data Now, used for everything! Mostly things it was never meant to do… Tables, frames, layout (CSS), embedded media...

Media Types Text Tabular data Images Animation (GIFs, then…?) Sound Video 3D?

Video in HTML5 <video src=”filename”> Text to show if the browser doesn’t support video. </video> http://www.w3schools.com/tags/tag_video.asp

Supported Formats From: http://www.w3schools.com/html/html5_video.asp https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats 12/3/14 The browsers all finally support MP4, so we no longer need to use all the different formats except for backward-compatibility.

Video tag attributes From: http://www.w3schools.com/html/html5_video.asp 4/12/11

The Formats… OGG/WebM MP4 WebM Open-source Free Proprietary/licensed “Better” Significantly higher quality, better file size WebM Based on Matroska container Licensed to Google as a perpetual, royalty free (essentially free) Better than OGG for compression and > browser support https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

For Compatibility… <video width="320" height="240" controls="controls"> <source src="movie.ogg" type="video/ogg" /> <source src="movie.mp4" type="video/mp4" /> <source src="movie.webm" type="video/webm" /> Your browser does not support the video tag. </video> This is actually unnecessary now, as all browsers support MP4.

Those Pesky Codecs… Ogg (Theora/Vorbis): MPEG4 (H.264/AAC): VLC MPEG4 (H.264/AAC): .mp4 Media Encoder WebM (VP8/Vorbis): .webm ??? If you don’t use just the right codecs and wrappers, it might not work. So… Also note that this is currently unnecessary.

Those Pesky Codecs… http://www.mirovideoconverter.com/ Miro is a free, cross-platform tool for converting media, and it can handle all three HTML5 configurations. Yay! And no, this isn’t an advertisement… Also try: http://www.webmsoft.com/free-webm-encoder.html http://www.mediasoftzone.com/video- converter/index.html?gclid=CJv84MDhq6gCFeJ95QodvB56IQ There’s an issue with Firefox not displaying the OGV files produced by Miro, so you need to change the filename to OGG and apparently it works!

Audio We can also play audio directly in the browser with the <audio> tag But do we want to? Hmm…

Audio tag <audio controls> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio tag. </audio> http://www.w3schools.com/tags/tag_audio.asp

Supported Formats Website to test HTML 5 Audio Formats: I find it odd that IE doesn’t support Microsoft’s traditional WAV format… Also, browser support in Android may be different…when in doubt…..look it up! Ex. Android support does not support Ogg until after Gingerbread (Android 2.3) Website to test HTML 5 Audio Formats: http://hpr.dogphilosophy.net/test/

More info on HTML5 video http://www.w3schools.com/html/html5_video.asp http://dev.w3.org/html5/spec/Overview.html http://www.html5video.org/ http://www.w3schools.com/html5/html5_video.asp http://caniuse.com/

Other browser media… <canvas> and JavaScript WebGL 2D raster-based drawing environment Supports bitmap images, animation, video… WebGL 3D right in the browser! Want to know more? 330 Rich Media Web App Dev. I Google it!

Putting Your HTML Files On-Line An introduction to SFTP

HTML and the WWW meet… The HTML in your web page (in conjunction with CSS) tells a web browser what it needs to know to properly display the page. Once you put your HTML files on a web server, any browser connected to the Internet can retrieve and view your files.

Client-Server What does the web server do? Waits for requests for HTML documents, image and sound files and so on. It then sends (serves) them back to the requestor (usually a web browser) RIT has a web server for student use called banjo.rit.edu What does a web browser (client) do? Requests HTML pages (and related files). Retrieves HTML pages (and related files). Displays (“renders”) the page for the viewer.

Getting Files online using the FTP protocol For your pages to be visible on the web, you will need to transfer your HTML and related files (images and so on) to a web server that is connected to the Internet. To do this you will use an FTP (File Transfer Protocol) program Here in the labs, you might use a program such as WinSCP or Filezilla to transfer you files. The Mac only Fetch program is a nice option too.

FTP Commands All FTP clients (programs) have these commands, but they can be implemented in slightly different ways. PUT - take files from your local computer and transfer a copy of them to the server. Also called uploading. GET - retrieve copies of files from the server and place them on your local computer's hard drive. Also called downloading. MKDIR - create a folder (or directory) on the server. Absolutely required to keep your site organized.

Information the FTP program needs The name (location) of the web server that will host your files. Ex. banjo.rit.edu 2) A user name ex. abc1234 3) The account’s password 4) What protocol to use: FTP -Port 21 OR Secure FTP (SFTP) - Port 22 - this is what banjo .rit.edu uses Once you are connected, you need to decide which folder to place the files in. On banjo, this needs to be your www folder.

Example: Fetch on Mac

Example: Filezilla on Mac

Example: Filezilla on Mac Once you are logged in, you will see your local disk on the left, and your remote account on the right. All your web files will go in the www folder, or one of its sub folders.

Example: Filezilla on Mac To upload a file to the web server, you can drag and drop to the correct folder, or right-click on the file and choose Upload. (Note: Downloading files is similar)

One more issue, file permissions Files and folders have to have the correct file permissions, or the web server will not be able to retrieve them. You can easily set these permissions using an FTP client. For folders the permission level is 755, for files the permission level is 644, and your home directory (abc1234) should be 711 (see next slide) We will explain what these numbers mean later in the course

Example: Setting permissions with Filezilla 1) right-click on the file or folder you want to change file permission on and choose “File Attributes …” 2) Type in the desired value and press OK.

Setting file permissions in Fetch To set file permissions in Fetch: Select a file and click the “Get Info” button. Type in the correct number and click the “Apply” button.

Lastly, FTP transfer modes FTP programs will transfer your files in one of two modes, either as: text (HTML, CSS, and JavaScript files) OR binary (images, Flash movies, everything that’s not text) FTP programs will usually make the right choice for you, but sometimes you have to set it manually.

Setting the transfer mode in Fetch In Filezilla, Choose Transfer > Manual Transfer …

Transferring Files to your web account A) Gather the 4 pieces of information you need: Server Name: banjo.rit.edu Port: 22 or SFTP Account: Your abc1234 login Password: your RIT password B) Launch your FTP client, fill in the information, and connect to the server.

Transferring Files to your web account C) Set the permissions on your www folder to 755 In your www folder, create a folder named 230. Also set its permissions to 755 In the 230 folder, create a folder named exercises. Also set its permissions to 755 Upload the files and folders we created last time: index.html, recipe.html (in the exercises folder), movies.html (in the exercises folder), and the image file that goes with the movies page (also in the exercises folder) If you’ve set up your local directories properly, you shouldn’t actually need to post everything separately… just upload your whole 230 directory to www

Transferring Files to your web account G) Now set permissions on all of the files you just uploaded to 644. Double-check that the permissions on all the folders are 755 H) In a web browser, navigate to:http://people.rit.edu/abc1234/230 (of course, replace “abc1234” with your ID) and you should see your files and folders. Go ahead and click on each on to be sure that they load into the browser. Also check the links we added to them last time.

Issues? G) If you get a permissions error, double check the file and folder permissions. Also verify that your “home directory” on banjo (the abc1234 directory) has 711 or 755 permissions. H) Submission: Make sure the link to your page from my classlist (linked from myCourses) works. If not, you need to fix your locations!