QuickTime movies can be included in a web page allowing visitors to your website to experience media seamlessly inside their browser. This is accomplished by adding some HTML to your web page that tells the QuickTime browser plug-in to display the media.
Important Notice for Web Developers and Users of Internet Explorer for Windows
Microsoft has released an update to Internet Explorer for Windows that changes the way IE handles media, including QuickTime movies, in a web page. After downloading and installing this update you may have noticed that some web pages require you to click one or more dialog boxes before you are able to view the web page. The detailed information below explains how both web page creators and users who view movies on the Web can improve this experience. Please come back to this site for updated information.
QuickTime Users
If you use QuickTime and have experienced the dialog referenced above while attempting to watch QuickTime movies with the updated Internet Explorer for Windows, you may consider trying an alternative web browser.
Web Authors
Web authors who include QuickTime content on their site(s) are encouraged to begin modifying their pages immediately using the recommended methods provided by Apple. By making some changes to your HTML you will continue to provide a seamless experience to all users including those who have installed the updated Internet Explorer for Windows. Below is an example of the steps you will need to take to modify your web page.
Code to Replace
Below is an example code (a simple <OBJECT> tag) that will not function as it did previously when loaded in the updated version of Internet Explorer for Windows:
Example:
<object classid="clsid:02BF25D5..." ...>
<param name="src" value="sample.mov"></object>
If you replace this tag with a script that calls code outside of your HTML page (such as JavaScript) it should work as expected in the updated version of Internet Explorer for Windows.
The following JavaScript fixes have been extensively tested and found to work in the broadest set of cases.
JavaScript Example
If your site only has a few QuickTime items, you may want to use the following solution. To implement this, you need to create unique external JavaScript (JS) file for each page on your site that contains QuickTime content. Note: If you have more than one piece of QuickTime content on a page, create unique functions (see Step 1) within the external JS file to document.write tags for each separate content piece.
The steps to do this are:
- Create and place the external JS file on your site. In this example, call it InsertMovie.js. This script needs to document.write the full object/embed tag that was previously in your HTML file:
function InsertSampleMovie()
{
document.write(<object classid="clsid: 02BF25D5..." ...>\n);
document.write(<param name="src" value="sample.mov" />\n);
document.write(</object>\n);
}
- Add a JavaScript include statement that points to the JavaScript file from Step 1 to the <HEAD> section of the web page that embeds the content.
<script src="[path]/InsertMovie.js" language="JavaScript" type="text/javascript"></script> - Replace each <object>, <embed>, or <applet> tag with a call to the appropriate external files as follows:
<script language=JavaScript type=text/javascript>InsertSampleMovie();</script>
Please visit the Apple Developer Connection for detailed information.
Apple is committed to enabling the best user experience for QuickTime content on the Web and is working with web authors and developers of authoring applications to ensure web pages are updated as soon as possible.
Plug-in Attributes
You can customize the browser experience by adding additional parameters to the script. Below you will find a list of the attributes supported by the QuickTime browser plug-in.
