Referencing AVI Files in MIRCdocuments

From MircWiki
Revision as of 16:29, 26 January 2011 by Johnperry (talk | contribs)
Jump to navigation Jump to search

This article describes how to insert AVI, MPEG, or other video files into MIRCdocuments using the File Service and Author Service of the RSNA MIRC implementation. This article applies only to MIRC T36b or later. 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. Log in on the query page.
  2. Select My Files in the My Stuff menu.
  3. In the left pane of the File Cabinet page, select a file folder in which to store the AVI file.
  4. In the File menu, select Upload file.
  5. The Add File window will then appear. Click the Browse button.
  6. A file chooser will then appear. Navigate to the video file, and click Open.
  7. The file chooser will disappear. Click Submit File on the Add File window.
  8. Note the full path to the file folder in which the video file is stored. This is shown at the right end of the menu bar.

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, replacing path with the path to the folder, and movie.avi with the name of the video file in that folder.
  5. Click the Save button in the toolbar to save the document.
Here is a <a href="[path/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.

For example, if the path to the folder is Personal/Files/Misc_Files and the video filename is video.mpeg, the text would be:

Here is a <a href="[Personal/Files/Misc_Files/video.mpeg]">movie</a>.

It is also possible to make the video play within the paragraph itself. To do so, use the following paragraph contents:

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

Notes:

  • Video 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 square brackets in the reference to the video file are required.
  • After copying the file into the file cabinet when the document is saved, the Author Service removes the bracketed reference from the source and replaces it with the filename of the video file, possibly modified to replace spaces in the name with underscores.