Before we begin to dissect an AMOD, let's first get our feet wet. We are going to create a simple AMOD that demonstrates the basic advertising functionality in Adobe Media Player and provides you with a better understanding of the workflow. There are four steps to the process:
Copy and paste Listing 1 into a blank text file. Save the file as Sample1.smil and upload the file to a web server. Note the URL for use in the next step.
<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
<head>
<layout>
<region id="banner" />
<region id="content" />
<region id="logo" />
<region id="overlayAd" />
</layout>
</head>
<body>
<par>
<img region="banner"
src="http://demo20.panachetech.com/amparticle/banner1.gif"
dur="120s" />
<video region="content"
src="http://demo20.panachetech.com/amparticle/content1.flv"
dur="120s" />
</par>
</body>
</smil>
Listing 1. AMOD for Sample 1
Copy and paste Listing 2 into a blank text file. Replace the bold text with the URL to the AMOD you created in Step 1. Save the file as Samples.xml and upload to a web server. Note the URL to the RSS file for use in the next step.
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss"
xmlns:amp="/amp/1.0">
<channel>
<title>Advertising Experiences for Adobe Media Player</title>
<link>/devnet/mediaplayer</link>
<description>Leverage the Power of AMOD</description>
<item>
<title>Sample 1</title>
<description>A simple AMOD</description>
<guid>1</guid>
<pubDate>Jul 1, 2008</pubDate>
<enclosure
url="http://demo20.panachetech.com/amparticle/sample1.smil"
type="application/smil+xml"/>
</item>
</channel>
</rss>
Listing 2. RSS for Sample 1
Open Adobe Media Player and click My Favorites in the left-hand pane. Click Add RSS Feed at the bottom of the screen and enter the URL to the RSS feed created in Step 2 (see Figure 3).

Figure 3. Adding your RSS feed to Adobe Media Player
Click the newly added RSS feed titled "Advertising Experiences for Adobe Media Player". Next, click the Episode titled "Sample 1"; your AMOD should now play (see Figure 4).

Figure 4. Playing Sample 1 AMOD in Adobe Media Player