Difference between revisions of "Referencing AVI Files in MIRCdocuments"
Line 1: | Line 1: | ||
− | This article describes how to insert AVI, WMV, MPEG, or other video files into MIRCdocuments using the File Service and Author | + | This article describes how to insert AVI, WMV, MPEG, or other video files into MIRCdocuments using the File Service and the Advanced Author Tool of the RSNA MIRC implementation. |
+ | ===Overview=== | ||
There are two steps in referencing an AVI file in a MIRCdocument: | There are two steps in referencing an AVI file in a MIRCdocument: | ||
# Store the file in your file cabinet. | # Store the file in your file cabinet. | ||
# Reference the file in a paragraph. | # Reference the file in a paragraph. | ||
− | + | There are two basic ways to display an AVI, by displaying a link to the AVI or by embedding the AVI in the MIRCdocument itself. In both cases, video files are currently supported only in paragraphs in normal <b>section</b> elements, not in <b>image-section</b> elements. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | To | + | To display a link to the AVI, use an <b>anchor</b> tag. 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. |
− | + | <pre> | |
− | + | Here is a <a href="path">movie</a>. | |
− | + | </pre> | |
− | |||
− | |||
+ | To embed the AVI in the MIRCdocument, use an <b>embed</b> tag. This will put a viewer in the document. | ||
<pre> | <pre> | ||
− | + | <embed src="path" style="width:100%;height:auto;"/> | |
</pre> | </pre> | ||
− | + | In both cases, the <b><tt>path</tt></b> must be configured to cause the Advanced Author Service to copy the referenced file from a file cabinet into the folder with the MIRCdocument's other files. The format of the path depends on which MIRC implementation you are running. See the sections below for details. | |
+ | |||
+ | ===CTP/MIRC=== | ||
+ | The instructions in this section apply only to CTP/MIRC. | ||
+ | |||
+ | To reference an AVI in a file cabinet, the path to the referenced file cabinet <u>folder</u> must be enclosed in square brackets, and the filename must immediately follow the right square bracket. For example, here is an anchor tag referencing a file in the user's Misc_Files folder: | ||
+ | |||
+ | ::<tt>Here is a <a href="[Personal/Misc_Files]video.avi">movie</a>.</tt> | ||
+ | |||
+ | Note that only the folder path is encapsulated within the square brackets, and the path must start with either <tt>Personal</tt> or <tt>Shared</tt>. | ||
− | + | If the referenced file is in the root of the user's Personal file cabinet, no additional path information is required, for example: <tt>[Personal]video.avi</tt>. | |
− | + | ===Tomcat/MIRC=== | |
− | + | The instructions in this section apply only to Tomcat/MIRC <b>T36b</b> or later. (Note: Tomcat/MIRC is now deprecated in favor of the CTP/MIRC implementation.) | |
− | |||
− | + | To reference an AVI in a file cabinet, the path to the <u>file</u> must be completely enclosed in square brackets, and the path itself must correspond to the path that is dislayed for the file by the file cabinet. For example, here is an anchor tag referencing a file in the user's Misc_Files folder: | |
− | < | + | ::<tt>Here is a <a href="[Personal/Files/Misc_Files/video.avi]">movie</a>.</tt> |
− | < | ||
− | </ | ||
− | + | Note that the file name is encapsulated within the square brackets, and the path must start with either <tt>Personal/Files</tt> or <tt>Shared/Files</tt>. | |
− | |||
− | |||
− |
Latest revision as of 18:43, 2 July 2012
This article describes how to insert AVI, WMV, MPEG, or other video files into MIRCdocuments using the File Service and the Advanced Author Tool of the RSNA MIRC implementation.
1 Overview
There are two steps in referencing an AVI file in a MIRCdocument:
- Store the file in your file cabinet.
- Reference the file in a paragraph.
There are two basic ways to display an AVI, by displaying a link to the AVI or by embedding the AVI in the MIRCdocument itself. In both cases, video files are currently supported only in paragraphs in normal section elements, not in image-section elements.
To display a link to the AVI, use an anchor tag. 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.
Here is a <a href="path">movie</a>.
To embed the AVI in the MIRCdocument, use an embed tag. This will put a viewer in the document.
<embed src="path" style="width:100%;height:auto;"/>
In both cases, the path must be configured to cause the Advanced Author Service to copy the referenced file from a file cabinet into the folder with the MIRCdocument's other files. The format of the path depends on which MIRC implementation you are running. See the sections below for details.
2 CTP/MIRC
The instructions in this section apply only to CTP/MIRC.
To reference an AVI in a file cabinet, the path to the referenced file cabinet folder must be enclosed in square brackets, and the filename must immediately follow the right square bracket. For example, here is an anchor tag referencing a file in the user's Misc_Files folder:
- Here is a <a href="[Personal/Misc_Files]video.avi">movie</a>.
Note that only the folder path is encapsulated within the square brackets, and the path must start with either Personal or Shared.
If the referenced file is in the root of the user's Personal file cabinet, no additional path information is required, for example: [Personal]video.avi.
3 Tomcat/MIRC
The instructions in this section apply only to Tomcat/MIRC T36b or later. (Note: Tomcat/MIRC is now deprecated in favor of the CTP/MIRC implementation.)
To reference an AVI in a file cabinet, the path to the file must be completely enclosed in square brackets, and the path itself must correspond to the path that is dislayed for the file by the file cabinet. For example, here is an anchor tag referencing a file in the user's Misc_Files folder:
- Here is a <a href="[Personal/Files/Misc_Files/video.avi]">movie</a>.
Note that the file name is encapsulated within the square brackets, and the path must start with either Personal/Files or Shared/Files.