Uploading Video and Flash Files

Top  Previous  Next

Uploading Flash or Video Files

Video and flash (SWF) files can be uploaded directly through the on-line editor. To incorporate a video file into a new document or web-page, follow these steps:

1.First, create a new document (using the “Document Library” / “Create a Web Page” menu option) or edit an existing document that you want to place the flash or video file into.
2.When editing the document, select the “Insert a Media Object” link from the top panel of the editor. (this is the small icon that looks like a picture of a filmstrip across the top bar of the editor)
3.A pop-up window will open to allow you to specify the directory to upload the media file into.  Note that video files may either be uploaded into the “uploads” directory where other files including images are uploaded to, or they may be uploaded into a separate “videos” directory.  We recommend placing videos into the “videos” directory to keep the content separated although either location will work equally well.
4.Select the “upload icon” (a picture of a globe with an up-arrow superimposed over it) to upload a file from your local disk.  Note that you may only upload files 8 Megabytes in size or smaller using this method – if you wish to upload a larger file, use the alternate procedure of transferring your video file via the file transfer protocol (ftp).

Once the file has been uploaded, select it by clicking on it.

IMPORTANT: Ensure that the URL in the Media Properties dialog has the directory name of the file that you uploaded as a prefix.  For example, if you uploaded the file “myvideo.wmv” into the videos directory, the URL at the bottom of the pop-up window should say “videos/myvideo.wmv” – if the videos/ or uploads/ prefix does not exist, enter it into the URL field – otherwise the process will appear to complete, but the video will not play.

Click the “Insert” button to insert the video into the document.  After insertion, you will notice that if you select the “source” tab in the editor, HTML similar to the following has been inserted automatically into the code that makes up the web page – this is the code that allows the video to play automatically when a user views this page.

<object width="720" height="544" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" title="" alt="">
<param name="autostart" value="false" />
<param name="loop" value="false" />
<param name="showcontrols" value="true" />
<param name="url" value="videos/myvideos.wmv" />

<embed width="720" height="544" autostart="false" loop="false" showcontrols="true" 

type="application/x-mplayer2" src="videos/myvideo.wmv" filename="videos/myvideo.wmv" 

pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"></embed></object>

 

You can change the properties of the video file by right clicking the mouse on the image representing the video file in “Design” mode and selecting the Media Properties option. You can control here whether the video loops automatically, whether it plays automatically and whether there is a border and screen tip present when a web-site visitor puts their mouse over the video file.

When you have the video the way you want it, press the “Save” button in the editor to store the document with the incorporated video into the database.

Please note that you may upload .WMV, .SWF and .AVI video and flash formats – other video file formats may or may not work depending on the capabilities of the browser.