<?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 21, 2007
Chapter: SMIL 3.0 Media Object
Module: MediaOpacity
Feature: mediaBackgroundOpacity attribute
File Name: mediaObject-mediaBackgroundOpacity1.smil
Expected Behavior: We show the same flash file side-by-side. This flash file has a defined background color
                   of #0000FF. On the left-side we use the display the flash file with the authored background
                   color. However, in the right side, we assign an opacity of 0% to the background color.

-->

<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
    <head>
        <layout>
            <root-layout width="320" height="240" backgroundColor="red"/>
            <region xml:id="reg1" left="25%" top="25%" width="50%" height="50%" fit="fill"/>
        </layout>
    </head>
    <body>
        <seq>
            <smilText dur="10s" region="reg1" textBackgroundColor="blue" mediaBackgroundOpacity="100%" textColor="white">
                 This is a simple test with 100% backgroundOpacity.
            </smilText>
            <smilText dur="10s" region="reg1" textBackgroundColor="blue" mediaBackgroundOpacity="50%" textColor="white">
                 This is a simple test with 50% backgroundOpacity.
            </smilText>
        </seq>
    </body>
</smil>
