Difference between revisions of "Referencing AVI Files in MIRCdocuments"

From MircWiki
Jump to navigation Jump to search
Line 1: Line 1:
This article describes how to insert AVI files into MIRCdocuments using the Author Service of the RSNA MIRC implementation.
+
This article describes how to insert AVI files into MIRCdocuments using the Author Service of the RSNA MIRC implementation. It has only been tested with Internet Explorer.
  
 
There are two steps in referencing an AVI file in a MIRCdocument:
 
There are two steps in referencing an AVI file in a MIRCdocument:

Revision as of 14:38, 1 August 2006

This article describes how to insert AVI files into MIRCdocuments using the Author Service of the RSNA MIRC implementation. It has only been tested with Internet Explorer.

There are two steps in referencing an AVI file in a MIRCdocument:

  1. Store the file in your file cabinet.
  2. Reference the file in a paragraph.

To store the AVI file in your file cabinet:

  1. Click My Files on the query page.
  2. If you are not already logged in, the system may ask you to do so.
  3. When your file cabinet is displayed, click the Add button in the left section of the bottom toolbar.
  4. The Add File window will then appear. Click the Browse button.
  5. A file chooser will then appear. Navigate to the AVI file, and click Open.
  6. The file chooser will disappear. Click Submit File on the Add File window.

To reference the AVI file in a MIRCdocument:

  1. Create a new MIRCdocument or edit an existing one in the Author Service.
  2. Select a section in which to insert the reference to the AVI file and click its tab.
  3. Insert a paragraph or click on the text box of an existing one.
  4. Enter text as shown in the box below.
  5. Click the Save button in the toolbar to save the document.
Here is a <a href="[user]movie.avi">movie</a>.

Notes:

  • AVI files are supported only in paragraphs in normal document sections, not in image-sections.
  • The RSNA MIRC implementation does not yet support WMV files.
  • In the example above, the AVI file is called movie.avi.
  • The text [user] must appear immediately before the name of the movie. This instructs the Author Service to obtain the file from the user's file cabinet.
  • After copying the file into the file cabinet when the document is saved, the Author Service removes the [user] text from the source. Thus, it will not appear when the document is edited after being saved. This is not a problem since the file will already have been stored with the MIRCdocument and it will not have to be copied again.
  • The anchor tag (a) instructs the browser to fetch the movie.avi file from the server when the link text, movie, is clicked. This typically results in an application being launched to display the movie.
  • If you want to force the movie to load in a separate window, you can add a target attribute as shown below:
Here is a <a href="[user]movie.avi" target="_blank">movie</a>.