Microsoft KB Archive/189681

= PUB98: Movie Doesn't Play or Opens in Another Window in Web Site =

Article ID: 189681

Article Last Modified on 11/9/1999

-

APPLIES TO


 * Microsoft Publisher 98 Standard Edition

-



This article was previously published under Q189681



SYMPTOMS
If you insert a movie clip into a Microsoft Publisher Web site, the movie file may not play as expected. For example, you may be prompted to download a file or the movie may play in a separate window.



CAUSE
Microsoft Publisher inserts the Anchor () tag for a movie link. When you attempt to play the movie, the Web browser starts a "helper application" to interpret the date. Results may differ depending on your browser and software configuration.



RESOLUTION
You can work around this functionality and embed the movie by replacing the anchor () tag with an image () tag and adding a dynamic source attribute (DYNSRC) to the image tag. To do this, follow these steps.

NOTE: The following steps assume you are using Microsoft Internet Explorer, version 4.0.  Insert the movie file. To do this, follow these steps:  On the Insert menu, click Object. Click Create From File. Type the path for the movie file in the File box. Or, click Browse, select the file, and then click Open. Click OK.</ol> </li> Publish your Web site. To do this, click Save As HTML on the File menu. Close the file.</li> Start Windows Explorer. To do this, point to Programs on the Windows Start menu, and then click Windows Explorer. Open the folder that contains your Publisher Web site. By default, Publisher stores these files in the \My Documents\Publish folder. If you saved your Publisher Web site in a different folder, open that folder instead.</li> Double-click the page that contains the movie file. The page will open in Internet Explorer.</li>  On the View menu, click Source. Find the following code and note any attributes (such as height and width) that you want to retain. <a href="moviefile.qt"> <img width=555 height=417 border=0 src="img0.gif"></a> Delete the code and replace it with the following code:

<img dynsrc="mymovie.avi">

To specify the height and width for the movie object, use the following syntax:

<img dynsrc="mymovie.avi" width="20" height="20">

NOTE: To preserve the size of the movie object, use the same attribute settings that were used in the original code.

If you want to play the movie continuously, use the following syntax:

<img dynsrc="mymovie.avi" loop="infinite">

If you want the movie to play when the mouse pointer passes over the object, use the following syntax:

<img dynsrc="mymovie.avi" start="mouseover">

</li> On the File menu, click Save.</li></ol>

Additional query words: quicktime mpeg avi embedded embedding

Keywords: kbprb kbhtml KB189681

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.