<?xml version="1.1" encoding="UTF-8" ?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN" "http://www.w3.org/2008/SMIL30/SMIL30Language.dtd">

<!--
Copyright: Copyright 1998-2008 W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license.
Author: Eric Hyche (RealNetworks, Inc.)
Version: November 28, 2007
Chapter: SMIL 3.0 Media Object
Module: MediaPanZoom
Feature: panZoom attribute
File Name: mediaObject-panZoom3.smil
Expected Behavior: We have a 320x240 region with fit="fill" and we want to display a 320x240 window of a 800x600 image in it. We do a pan across the image in 5 second intervals.

-->

<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
    <head>
        <layout>
            <root-layout width="352" height="272" backgroundColor="blue"/>
            <region xml:id="reg1" left="16" top="16" width="320" height="240" backgroundColor="red" fit="fill"/>
        </layout>
    </head>
    <body>
        <seq>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="-40%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="-30%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="-20%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="-10%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="0%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="10%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="20%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="30%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="40%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="50%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="60%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="70%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="80%,25%,50%,50%"/>
            <img src="sunset_800x600.jpg" region="reg1" dur="2s" panZoom="90%,25%,50%,50%"/>
        </seq>
    </body>
</smil>
