<?xml version="1.1"?> <!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Mobile//EN" "http://www.w3.org/2007/07/SMIL30/SMIL30Mobile.dtd"> <!-- Copyright: Copyright 1998-2008 W3C (MIT, ERCIM, Keio), All Rights Reserved. (See http://www.w3.org/Consortium/Legal/). Revision: Jan 28 2008 by Thierry Michel (test updated to SMIL Namespace, DTD and version and BaseProfile attribute) Author: Dick Bulterman (CWI) Version: April 16, 2005 Module: AlignmentLayout Module Feature: mediaAlign functionality File Name: aL-mediaAlign-26.smil Media Components: 1 background image (196x158), 1 image (88x44), 1 text description Expected Behavior: This file is used to verify media aligment behavior when mediaAlign is implicitly set on the region and only regAlign is set on the media object. The center of the media should be placed at the bottomRight of the region. Required Modules: AlignmentLayout BasicInlineTiming BasicLayout BasicMedia BasicTimeContainers Structure --> <smil xml:id="root" xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Mobile" > <head> <layout> <root-layout id="Player-Window" width="176" height="208"/> <region id="raster" width="176" height="158" z-index="1"/> <region id="media" width="176" height="158" z-index="2" mediaAlign="bottomRight" /> <region id="text" top="160" width="176" height="48" backgroundColor="#ccccb9"/> </layout> </head> <body> <par> <img region="raster" src="Align-Background.png" dur="3s" /> <text region="text" src="alignmentLayout-mediaAlign-26.txt" dur="3s" /> <img region="media" src="Layout03.png" regAlign="center" dur="3s" /> </par> </body> </smil>