JavaScript Scripting Guide for QuickTime

JavaScript Scripting Guide for QuickTimeShort Description
JavaScript can interact with QuickTime in various ways. You can use JavaScript in a browser to detect whether QuickTime is installed, you can use JavaScript to create the tags used to embed QuickTime content in aweb page, and you can use JavaScript to query and control the QuickTime plug-in directly. This document describes client-side scripting using JavaScript and QuickTime browser plug-ins.

Website: nenonk.googlepages.com | Filesize: 362kb
No of Page(s): 40

Content

JavaScript can be used to detect the QuickTime plug-in in most versions of most browsers onWindows and the Mac OS. The details vary slightly by browser, but a single script can be written that works with all supported browsers. Most browsers other than Internet Explorer forWindows (includingNetscape, Mozilla-based browsers, Safari, and Internet Explorer for Macintosh version 5) support the JavaScript navigator.plugins.name array. You can detect whether the user has the QuickTime plug-in installed by testing this array for “QuickTime.”

Internet Explorer forWindows does not support the navigator.plugins array, but does allow you to use VBScript to detect whether the QuickTime plug-in is installed (by testing for the presence of the QuickTime ActiveX control).
The following listing contains an example script that detects the user’s operating system, browser type, and browser version, uses JavaScript to test for the QuickTime plug-in, uses VBScript to test for the QuickTimeCOMobject, and detects users running older versions of Internet Explorer for Macintosh (making the assumption that these users also have QuickTime installed). This listing sets the variable haveqt either true or false.

Get the file Download here

Related Copyrighted Books
JavaScript: The Good PartsJavaScript: The Good Parts
jQuery in ActionjQuery in Action
Head First JavaScriptHead First JavaScript
JavaScript: The Missing ManualJavaScript: The Missing Manual
Ajax: The Definitive GuideAjax: The Definitive Guide

AddThis Social Bookmark Button
Related Books:
  • JavaScript Scripting Guide for QuickTime
  • JavaScript Scripting Guide for QuickTime
  • Adobe CS2 Photoshop JavaScript Scripting Reference
  • Adobe InDesign CS3 Scripting Guide JavaScript
  • Acrobat JavaScript Scripting Guide
  • Adobe InDesign CS3 Scripting Tutorial
  • JavaScript The Definitive Guide, 5th Edition
  • Adobe InDesign CS3 Scripting Tutorial

  • Related Searches: , , , ,



    Comments

    Leave a Reply