Referencing AVI Files in MIRCdocuments

From MircWiki
Revision as of 19:09, 31 July 2009 by Johnperry (talk | contribs) (Protected "Referencing AVI Files in MIRCdocuments" [edit=sysop:move=sysop])
Jump to navigation Jump to search

This article describes how to insert AVI files into MIRCdocuments using the File Service and 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>.

This will present a link to the AVI within the paragraph. When clicked, the user's AVI viewer will launch and display the AVI in a separate window.

Another alternative is to cause the AVI to play within the paragraph itself. To do so, use the following paragraph contents:

<embed src="[user]movie.avi"/> 

Notes:

  • AVI files are supported only in paragraphs in normal section elements, not in image-section elements.
  • In the example above, the AVI file is called movie.avi.
  • You can also insert WMV files in the same way.
  • The text [user] must appear exactly as shown, immediately before the name of the movie. This instructs the Author Service to obtain the file from the user's file cabinet. The square brackets are required. Do not substitute your username for the word user; the Author Service knows who you are because you are authenticated.
  • 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.