1 / 26

Part Six

Part Six. Chapter 23 How Web Browsers Do Multimedia Chapter 24 Audio Recording and Embedding. Chapter 23. How Web Browsers Do Multimedia. Chapter 23 Objectives. Understand how to use plug-ins and add-ins Find hot multimedia sites Define Java applets

Download Presentation

Part Six

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Part Six Chapter 23 How Web Browsers Do Multimedia Chapter 24 Audio Recording and Embedding

  2. Chapter 23 How Web Browsers Do Multimedia

  3. Chapter 23 Objectives • Understand how to use plug-ins and add-ins • Find hot multimedia sites • Define Java applets • Define common gateway interface • Understand how active server page (ASP) works in .NET environment • Study client-side image maps

  4. Multimedia Browsing • Multimedia browsing brings Web pages to life with sound, video, and animations • Your Web browser must be configured to the multimedia resource on the Web • There are a lot of different ways to do multimedia

  5. Multimedia Browsing • Browsers handle diverse file types • Browsers have built-in support for native types of multimedia • Multimedia companies make plug-ins and add-ins that install in browsers to play their brand of software • Some browsers allow helper apps to handle other kinds of multimedia files

  6. Built-in Browser Support • The first browsers had no built-in support for multimedia • Today’s browser vendors obtain licenses to include popular plug-ins in their standard installation files

  7. Audio Controls • Popular browsers for audio files are Windows Media Player and Apple QuickTime Figure 23-1 Windows Media audio controls. Figure 23-2 QuickTime audio controls.

  8. Video Controls Figure 23-3 Microsoft’s Windows media controller Figure 23-4 Apple’s QuickTime movie controller

  9. Helper Apps • An app is a software application that can make your computer do something • A helper app handles something that is not built-in • Filename associations specify what applications will play the media files on both Windows and Macintosh computers • Table 23-1shows filename folder options

  10. Plug-ins and Add-ins • Plug-ins and add-ins are software modules that add functionality • While Microsoft uses the term add-ins, Mozilla and most other people use the term plug-ins • An advantage of plug-ins is that they play multimedia directly in the browser’s window, while helper apps use a separate window

  11. Flash • Flash is a popular multimedia plug-in • Download it at www.macromedia.com • The Flash player is installed on 97% of the Internet’s end-user computers • Besides animating slides, movies, and soundtracks, Flash lets users import PDF documents, design forms, and use CSS

  12. A Flash application

  13. Security Risks • When you download executable code, viruses are possible • Download only from reputable vendors • Malicious programmers called crackers can use back doors and loopholes • Vendors plug loopholes with fixes called patches

  14. Java • Java is an object-oriented programming language invented by Sun Microsystems • Java runs under Windows, Macintosh, Unix, and Linux • Machine independence has made Java a popular language

  15. Java Applets • Java is used for little applications called applets, which are useful on the Internet • Applets can bring Web pages to life • E.g., to rotate three-dimensional objects • Develop games such as Hangman, Tic-Tac-Toe, or more complex simulations

  16. JavaScript • Developing Java applets is time consuming and requires programming • JavaScript is a popular, client-side language to facilitate making dynamic Web pages • Nearly all browsers support JavaScript

  17. JavaScript Figure 23-7 A rollover effect created with JavaScript at the Library of Congress. To try this effect, go to www.loc.gov and move your mouse over the menu choices.

  18. ActiveX • Microsoft developed ActiveX as a way to create and distribute information • ActiveX is widely accepted by Windows developers • ActiveX uses controls, scripts, and documents • More than a thousand ActiveX controls are available, including Internet Explorer

  19. Dynamic HTML • Dynamic HTML refers to animated pages created by combining HTML with scripts that manipulate Web pages • How objects are defined and manipulated is called the document object model (DOM) • JavaScript and VBScript manipulate Web pages from DOM-defined objects

  20. Server-Side Tools • Viewing Internet Web pages involves a client and a server • The client is the browser that requests, downloads, and displays the Web page • The server is the computer that serves the Web page to the client • The common gateway interface (CGI) facilitates transactions between a client and a server

  21. Common Gateway Interface (CGI) • The CGI protocol defines how forms data, cookies, and other information in a request are processed • The programs that respond to CGI requests are called CGI scripts • CGI scripts are language neutral • For example, Pearl, Python, C#, and Java are CGI scripting languages

  22. Perl • Perl is a machine-independent, scripting language • Perl scripts can be run under Unix, DOS, O/S2, Macintosh, Amiga, and Windows • There is a large public-domain library of Perl scripts

  23. Active Server Pages (ASP) • Active Server Pages (ASP) is the Microsoft tool for server-side scripting • ASP HTML files consist of tags and content • The start tag is <% and stop tag is %> • JScript or VBscript, found between the tags, is executed by the server • ASP keeps code private

  24. ASP.NET • The latest version of ASP is ASP.NET (pronounced dot-NET) • ASP.NET uses scripts and languages • C, C++, C# (pronounced C-sharp), and J# (Microsoft’s Java) • Behind-the-scene files full of code are called code-behind files

  25. The .NET Framework • The .NET Framework is a Microsoft O/S product that adds thousands of functions for use in creating Web applications • .NET gives your computer a just-in-time compiler, called only when needed • A suite of tools called Visual Studio .NET is an integrated development environment for creating applications and services

  26. Client-Side Trends • Web authors can handle client-side tasks that used to require CGI calls • For example, an image map is an invisible layer of hotspots placed over an image onscreen • To learn how to create an image map, consider the example in Figure 23-9 • To create an image map by drawing in your browser, go to Table 23-2

More Related