RealNetworks View Source

To learn more about authoring for the RealPlayer, visit the View Source Gallery.
Stream: SMIL
File Name: banner_start.smi
Last Modified: Thu, 01 Nov 2001 23:26:44 GMT
File Size: 1,648 Bytes
SMIL source:
SMIL
Synchronized Multimedia Integration Language
A W3C Recommendation
 
 

<smil>
	<head>
		<meta name="title" content="Video and Ad Template" />
		<meta name="author" content="RealNetworks, Inc." />
		<meta name="copyright" content="(c) 1998" />
		<layout>
			<!-- The root-layout sets the height and width of the entire presentation
				in pixels.  Each region sets specific areas in the presentation
				that media will play to -->
			<root-layout width="468" height="204" />
			<region id="video_region" width="176" height="144" left="146" top="0" />
			<region id="pix_region" width="468" height="60" left="0" top="144" />
			<region id="text_region" width="468" height="144" left="0" top="0" />
		</layout>
	</head>
	<body>
		<!-- Each line between the <par><seq></seq></par> tags is a media file which
			will play to a specified region.  The <seq> tags mean that they will
			play one at a time (in sequence).  The ad must be played before the
			video starts to give the video the highest possible quality.  The <par>
			(parallel) tags mean that it will be played as one presentation, rather
			than three.  Fill="freeze" means that the final frame will stay visible
			when that media file is	done.  The show="new" attribute sends the link
			to a web browser.  Make	sure your ad image is no larger than 20k at
			these settings. -->
		<par>
			<seq>
				<textstream src=""text_region" fill="freeze" />
				<a href="http://www.real.com/" show="new" >
					<img src="pix/ad.gif?bitrate=20000&preroll=10" region="pix_region" fill="freeze" />
				</a>
				<video src="video/video.rm" region="video_region" fill="freeze" />
			</seq>
		</par>
	</body>
</smil>