Play Adobe Flash Videos in Your Coursework

You can include Adobe® Flash® videos in your coursework.

Note Your students must have or be able to install Adobe Flash Player in order to view Adobe Flash videos. Flash is not supported for iOS devices like iPad®.
  1. Open the question, assignment, or announcement in which you want to play your media file.
  2. Open the My Files window.
    From this page:Do this:
    Question Editor Click My Files in the Page Tools panel.
    Assignment Editor Click Include File for either the Description or Instructions.
    Communication Home Click My Files to the left of your announcement text.
  3. Navigate to the file you want to use and click its file name.
  4. Click Show File Info to display additional information about the file.
    • File Type: The type of the file, such as image/jpeg.
    • Location: The path to the file on the WebAssign servers.
    • File ID: The unique ID number assigned to the file.
    • Last Modified: The date and time of the last time you changed the file or file properties.
    • Size: The file size.

    Click Hide File Info to hide this information.

  5. Add the following code to your question, assignment, or announcement.
    <object 
      classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
      codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
      width="width" height="height"> 
      <param name="movie" value="location/name" />
      <object type="application/x-shockwave-flash" 
        width="width" height="height" data="location/name">
      </object>
    </object>

    where:

    • height and width are the height and width of your video, in pixels.
    • location and name are the Location and Name from the File View window.
    Note  
    • To display videos correctly on all Web browsers that are supported for WebAssign, each of these values is specified twice. Be sure these values are correct in both places or your content might not display correctly on some Web browsers.
    • Do not rename your video file or move it to another folder. If you change the location of the video, it will not be displayed in your question. This is not a problem when using the <userfile> or <userimage> tags.
    • You can include media in a question's Answer only for multiple-choice, multiple-select, or matching questions.
  6. When testing your content, be sure to view it both in Internet Explorer® / Microsoft® Edge and in either Firefox® or Safari®.

Example Question with Flash Video

The following table summarizes an actual question.

QID

1545601

Name

Template2 1.MEDIA.01.

Mode

Multiple-Choice

Question

Watch the following video and then answer the question.<br>
<div style="margin: 10px; width: 680px; border: 1px solid gray;">
<object 
  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
  codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
  width="680" height="555"> 
  <param name="movie"
    value="/userimages/mplopez@webassign/Media/adding_media_to_questions.swf" />
  <object type="application/x-shockwave-flash" 
    width="680" height="555"
    data="/userimages/mplopez@webassign/Media/adding_media_to_questions.swf">
  </object>
</object>
</div>
What tag do you use to add video to a question? <br>
<_>

Answer

object
userfile
userimage

Display to Students

Question as displayed to students