.XML Files
X
ML files (Extensible Markup Language) are simply a common and powerful way of representing information.

For many users, data is the most important part of any presentation, document, or website. XML allows you to store the data in a hierarchial form that is easy for programs to interact with.

For the basics on XML, please visit the W3 10-point overview.

Simple Media Player uses a specialized structure for the XML documents, a few examples and definitions are given for reading and modifying the SMP XML document.

Example 01
<ADAMS_VIDEO_VIEWER>
<STATUS>
<IMAGE>none</IMAGE>
</STATUS>

<VIDEO>
<NAME>MVI_0833.flv</NAME>
<TITLE>MSC Piano Playing</TITLE>
</VIDEO>

</ADAMS_VIDEO_VIEWER>

For example 01, the player contains one movie. "MVI_0833.flv" is the movie's filename, "MSC Piano Playing" is the caption to appear when the file is selected. The player is initialized with no background noted by the "<IMAGE>none</IMAGE>"

Many other options are available for the player's initial status, as seen in example 02.

Example 02

<ADAMS_VIDEO_VIEWER>
<STATUS>
<IMAGE>morning-dew.jpg</IMAGE>
<INFO>hidden</INFO>
<PLAYER>hidden</PLAYER>
</STATUS>

<VIDEO>
<NAME>MVI_0833.flv</NAME>
<TITLE>MSC Piano Playing</TITLE>
</VIDEO>

<VIDEO>
<NAME>MVI_0830.flv</NAME>
<TITLE>Texas Aggie Bus</TITLE>
</VIDEO>

</ADAMS_VIDEO_VIEWER>

In this example, the player is initialized minimized (or hidden). The info button is also hidden.
(NOTE: They must be hidden in this order, info first, then player IFF they are both hidden!)

Also, the background is set to the image "morning-dew.jpg."
Example 02 contains two videos, both "MSC Piano Playing" and "Texas Aggie Bus."

If you have any questions involving the use of certain xml files, feel free to contact me.