Flash captions.xml Activity - Assemble Files

  1. Make a copy of the QuickTime caption text file ("csun2007.en_US.qt.txt") from the QuickTime folder. Copy this file to the Flash folder. Make sure the "csun2007.swf" file is present in the Flash folder.
  2. Open the "captions.xml.txt" file by double clicking on it. It should open in TextEdit.
  3. You will be typing in the bolded text as shown below:


    <?xml version="1.0" encoding="ISO-8859-1"?>
     
    <flashcaptioning>
     
    <ccconfig>

    <CaptionLocation>csun2007.en_US.qt.txt</CaptionLocation>
    <VideoLocation>csun2007.flv</VideoLocation>
    <VideoSizeWidth>320</VideoSizeWidth>
    <VideoSizeHeight>240</VideoSizeHeight>
    <VideoTotalTime>63.71</VideoTotalTime>
    <XMLFileUsed></XMLFileUsed>

    </ccconfig>
     
    </flashcaptioning>

  4. Add the caption file name to <CaptionLocation> tag as shown above ("csun2007.en_US.qt.txt"), or type the name you used to export the QuickTime caption file from MAGpie. Avoid spaces before and after the file name.
  5. Add the video file name to <VideoLocation> tag as shown above ("csun2007.flv"). Avoid spaces before and after the file name.
  6. Check that the video width ("320") and height ("240") values are correct inside their tags as shown above. If you have a QuickTime version of the video (compressed at the same size), you can check the video size by running the QuickTime version, selecting Window->Show File Info, and looking at numbers showing after Normal Size. Otherwise, you can check your compression settings for the correct video size. Avoid spaces.
  7. Insert video runtime in seconds ("63.71"). Video runtime in milliseconds is available in the last SYNC entry of your SAMI file (i.e., put a decimal place three digits from the right). Avoid spaces.
  8. Save the file as "captions.xml". This file MUST be named captions.xml. Note: All four files (FLV, "captions.xml", SWF, and the QuickTime caption text file) should be in the same folder.
  9. Open your browser (i.e., Safari, Firefox), select File->Open, navigate to your "csun2007.swf" file, and open it. This should play the Flash player using the full size of the window (resizable). Note that some browsers will not play Flash from your hard drive or from a CD or other removable media. If you have trouble, try uploading the files to a server and try running the video from there.
  10. If you have time, try experimenting with different values for the metadata you edited above to see what happens. Save and see how the player reacts.

Back to Index