Difference between revisions of "Referencing AVI Files in MIRCdocuments"

From MircWiki
Jump to navigation Jump to search
m (Protected "Referencing AVI Files in MIRCdocuments" [edit=sysop:move=sysop])
Line 1: Line 1:
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.
+
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:
 
There are two steps in referencing an AVI file in a MIRCdocument:
Line 6: Line 6:
  
 
To store the AVI file in your file cabinet:
 
To store the AVI file in your file cabinet:
# Click <b>My Files</b> on the query page.  
+
# Log in on the query page.
# If you are not already logged in, the system may ask you to do so.  
+
# Select <b>My Files</b> in the <b>My Stuff</b> menu.  
# When your file cabinet is displayed, click the <b>Add</b> button in the left section of the bottom toolbar.  
+
# In the left pane of the File Cabinet page, select a file folder in which to store the AVI file.
 +
# In the <b>File</b> menu, select <b>Upload file</b>.
 
# The <b>Add File</b> window will then appear. Click the <b>Browse</b> button.
 
# The <b>Add File</b> window will then appear. Click the <b>Browse</b> button.
# A file chooser will then appear. Navigate to the AVI file, and click <b>Open</b>.
+
# A file chooser will then appear. Navigate to the video file, and click <b>Open</b>.
 
# The file chooser will disappear. Click <b>Submit File</b> on the <b>Add File</b> window.
 
# The file chooser will disappear. Click <b>Submit File</b> on the <b>Add File</b> window.
 +
# 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:
 
To reference the AVI file in a MIRCdocument:
Line 17: Line 19:
 
# Select a section in which to insert the reference to the AVI file and click its tab.
 
# Select a section in which to insert the reference to the AVI file and click its tab.
 
# Insert a paragraph or click on the text box of an existing one.
 
# Insert a paragraph or click on the text box of an existing one.
# Enter text as shown in the box below.
+
# Enter text as shown in the box below, replacing <b>path</b> with the path to the folder, and <b>movie.avi</b> with the name of the video file in that folder.
 
# Click the <b>Save</b> button in the toolbar to save the document.
 
# Click the <b>Save</b> button in the toolbar to save the document.
  
 
<pre>
 
<pre>
Here is a <a href="[user]movie.avi">movie</a>.
+
Here is a <a href="[path/movie.avi]">movie</a>.
 
</pre>
 
</pre>
  
 
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.
 
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:
+
For example, if the path to the folder is <b>Personal/Files/Misc_Files</b> and the video filename is <b>video.mpeg</b>, the text would be:
 +
 
 +
<pre>
 +
Here is a <a href="[Personal/Files/Misc_Files/video.mpeg]">movie</a>.
 +
</pre>
 +
 
 +
It is also possible to make the video play within the paragraph itself. To do so, use the following paragraph contents:
  
 
<pre>
 
<pre>
Line 33: Line 41:
  
 
Notes:
 
Notes:
* AVI files are supported only in paragraphs in normal <b>section</b> elements, not in <b>image-section</b> elements.
+
* Video files are supported only in paragraphs in normal <b>section</b> elements, not in <b>image-section</b> elements.
 
* In the example above, the AVI file is called <b>movie.avi</b>.
 
* In the example above, the AVI file is called <b>movie.avi</b>.
 
* You can also insert WMV files in the same way.
 
* You can also insert WMV files in the same way.
* The text <b>[user]</b> 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 <b>user</b>; the Author Service knows who you are because you are authenticated.
+
* 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 <b>[user]</b> 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.
+
* 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.

Revision as of 16:27, 26 January 2011

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="[user]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.