<?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: chromaKeyOpacity attribute
File Name: mediaObject-chromaKeyOpacity1.smil
Expected Behavior: This test is the same as mediaObject-chromaKey1.smil, but instead of using the default
                   chromaKeyOpacity of 0%, it uses a chromaKeyOpacity of 50%.

-->

<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
    <head>
        <layout>
            <root-layout width="688" height="528" backgroundColor="red"/>
            <region xml:id="reg1" left="16"  top="16"  width="320" height="240"/>
            <region xml:id="reg2" left="352" top="16"  width="320" height="240"/>
            <region xml:id="reg3" left="16"  top="272" width="320" height="240"/>
            <region xml:id="reg4" left="352" top="272" width="320" height="240"/>
        </layout>
    </head>
    <body>
        <par>
            <img src="smile.png" region="reg1" dur="10s"/>
            <img src="smile.png" region="reg2" dur="10s" chromaKey="#7FFFFE" chromaKeyOpacity="50%"/>
            <img src="smile.png" region="reg3" dur="10s" chromaKey="#000000" chromaKeyOpacity="50%"/>
            <img src="smile.png" region="reg4" dur="10s" chromaKey="#FFFF00" chromaKeyOpacity="50%"/>
        </par>
    </body>
</smil>
