Media Services, 149 Kerr Hall, 831-459-2117


Here are four examples of the SMIL scripts. They are created in plain text editors and saved as .mov files.

Video only SMIL

SMILtext<smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:autoplay="true" qt:time-slider="true">
<head>
<layout>
<root-layout width="320" height="240" background-color="black" />
<region id="region_1" left="0" top="0" width="320" height="240" fit="fill" />
</layout>
<meta name="CE" content="UCSC Distance Education" />
<meta name="Media Services" content="©2003" />
<meta name="CE Classes" content="your_url.edu" />
</head>
<body>
<seq>
<a href="http://webserver" show="new">
<video src="rtsp://streamingserver/moviename.mov" alt="movie" region="region_1" begin="0s" />
</a>
</seq>
</body>
< /smil>
Video and Data SMIL
SMILtext<smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:autoplay="true" qt:time-slider="true">
<head>
<layout>
<root-layout width="800" height="376" background-color="black" />
<region id="region_1" left="0" top="0" width="320" height="240" fit="fill" />
< region id="region_2" left="320" top="0" width="480" height="360" fit="fill" />
</layout>
<meta name="CE" content="UCSC Distance Education" />
<meta name="Media Services" content="©2003" />
<meta name="CE Classes" content="your_url.edu" />
</head>
<body>
<par>
<a href="http://webserver" show="new">
<video src="rtsp://streamingserver/1stmovie.mov" alt="movie" region="region_1" begin="0s" />
</a>
<a href="http://webserver" show="new">
<video src="rtsp://streamingserver/2ndmovie.mov" alt="movie" region="region_2" begin="0s" />
</a>
</par>
</body>
< /smil>
Audio only SMIL
SMILtext<smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:autoplay="true"
qt:time-slider="true">
< head>
< layout>
< root-layout width="300" height="20" background-color="black" />
< region id="region_1" left="0" top="0" width="300" height="20" fit="fill" />
< /layout>
< meta name="CE" content="UCSC Distance Education" />
< meta name="Media Services" content="©2003" />
< meta name="CE Classes" content="media4.ucsc.edu/webcast" />
< /head>
< body>
< seq>
< a href="http://webserver" show="new">
< audio src="rtsp://streamingserver/movie.mov" alt="movie" region="region_1" begin="0s" />
< /a>
< /seq>
< /body>
< /smil>
Data only SMIL
SMILtext<smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:autoplay="true"
qt:time-slider="true">
< head>
< layout>
< root-layout width="640" height="480" background-color="black" />
< region id="region_1" left="0" top="0" width="640" height="480" fit="fill" />
< /layout>
< meta name="CE" content="UCSC Distance Education" />
< meta name="Media Services" content="©2003" />
< meta name="CE Classes" content="media4.ucsc.edu/webcast" />
< /head>
< body>
< seq>
< a href="http://webserver" show="new">
< video src="rtsp://streamingserver/movie.mov" alt="movie" region="region_1" begin="0s" />
< /a>
< /seq>
< /body>
< /smil>

Questions or comments? Let us know.