A SCORM-ready template: Part 2C. Create a Playlist file

A SCORM-Ready Template Tutorial Series, Part 2: Add Flash Video to your Module
<< Part 2B. Create an FLV clip and a wmv clip for captioning. | Part 2D. Create a Captions file for the JW Media Player >>


The Playlist

A playlist is an XML file that tells the player the order of files or chapters to play, and contains metadata for each item, such as title, author, duration, file format, location, etc.

The media player understands the following XSPF tags:

MEANING TAG
streaming folder or actual file if streaming is not being used <location>
Title that will be displayed in the chapter menu <title>
link to more information <info>
filename of video file, including extension <identifier>
full or relative path to thumbnail image <image>
author (displayed in chapter menu)
duration in hours:min:sec <meta rel="duration">00:03:30</meta>
format: RTMP or FLV (streaming or non-streaming) <type>
start time (in seconds) <meta rel="start">0</meta>
full or relative path to captions file <link rel="captions">media/abuse.xml</link>

A sample XSPF playlist for a single video with no chapters is shown below.

<?xml version="1.0" encoding="utf-8"?>
  <playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
  <!--red5.mcit.med.umich.edu = 141.214.83.38-->
  <!--red502.mcit.med.umich.edu = 141.214.83.48-->
  <track>
  <title>Introduction: 3:31</title>
  <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/criticalincident</location>
  <identifier>ManagingViolence.flv</identifier>
  <type>rtmpt</type>
  <!--<link rel="captions">media/abuse.xml</link>-->
  <!--<meta rel="start">0</meta>
  <meta rel="duration">00:03:30</meta>-->
</track>

</trackList> </playlist>

Sample xpsf playlist for a video with multiple chapters:

<?xml version="1.0" encoding="utf-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList>
<track>
<title>Introduction: 3:31</title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <type>rtmpt</type> <image>media/introChild.jpg</image> <link rel="captions">media/abuse.xml</link> <meta rel="start">0</meta> <meta rel="duration">00:03:30</meta> </track>

<track> <title>Pediatric Setting: 4:44</title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <image>media/pediatricSetting.jpg</image> <type>rtmpt</type> <link rel="captions">media/abuse.xml</link> <meta rel="start">212</meta> <meta rel="duration">00:04:44</meta> </track>
<track> <title>Adolescent Setting: 3:20</title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <image>media/adolescentSetting.jpg</image> <type>rtmpt</type> <link rel="captions">media/abuse.xml</link> <meta rel="start">506</meta> <meta rel="duration">00:03:20</meta>
</track>
<track> <title>GYN Setting: 4:22 </title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <image>media/gynSetting.jpg</image> <type>rtmpt</type> <link rel="captions">media/abuse.xml</link> <meta rel="start">787</meta> <meta rel="duration">00:04:39</meta>
</track>

<track>
<title>Primary Care Setting: 4:22</title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <image>media/primaryCare.jpg</image> <type>rtmpt</type> <link rel="captions">media/abuse.xml</link> <meta rel="start">947</meta> <meta rel="duration">00:04:22</meta>
</track> <track> <title>Special Considerations 6:03</title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <image>media/specialCons.jpg</image> <type>rtmpt</type> <link rel="captions">media/abuse.xml</link> <meta rel="start">1213</meta> <meta rel="duration">00:06:03</meta>
</track>
<track>
<title>Institutional Change: 3:20</title> <location>rtmpt://red502.mcit.med.umich.edu:80/oflaDemo/abusePhys</location> <identifier>243.abuse.flv</identifier> <image>media/institutionalChange.jpg</image> <type>rtmpt</type> <link rel="captions">media/abuse.xml</link> <meta rel="start">1578</meta> <meta rel="duration">00:03:20</meta>
</track>

</trackList>
</playlist>


A SCORM-Ready Template Tutorial Series, Part 2: Add Flash Video to your Module
<< Part 2B. Create an FLV clip and a wmv clip for captioning. | Part 2D. Create a Captions file for the JW Media Player >>